[Unity]SendMessage有啥用

  接着相关资料1的内容,删除其中CubeJump调用Play3DSound的AnimationEvent。   添加一个UIButton 在视图中,鼠标右键UI-Button新建一个UIButton按钮,其Button组件的OnClick()添加一个事件,CubeJump.SendMessage事件,填写Play3DSound。   AnimationEvent可以调用私有函数。 .SendMe
相关文章
相关标签/搜索