我正在 Unity 中编写游戏,但在使用 Text Mesh Pro 输入框中的 On End Edit 事件时遇到问题。我需要在运行时定义事件(在代码中)。我真的不知道如何解决这个问题。
这是编辑器中事件的图片,我希望它连接到 PlayerConnectionManager 类中的 PressedButton 方法:
感谢您的任何帮助!
c# mesh unity-game-engine
c# ×1
mesh ×1
unity-game-engine ×1