[Unity]SendMessage有啥用

  接着相關資料1的內容,刪除其中CubeJump調用Play3DSound的AnimationEvent。   添加一個UIButton 在視圖中,鼠標右鍵UI-Button新建一個UIButton按鈕,其Button組件的OnClick()添加一個事件,CubeJump.SendMessage事件,填寫Play3DSound。   AnimationEvent可以調用私有函數。 .SendMe
相關文章
相關標籤/搜索