最終更新:2023-06-23 (金) 07:46:44 (309d)  

Unity/On Click
Top / Unity / On Click

Unity/インスペクタ

  • 左側はゲームオブジェクトを指定する
  • 右側は呼び出す関数を指定する

UnityEngine.UI.Button

ハンドラ

  •         public ButtonClickedEvent onClick
            {
                get { return m_OnClick; }
                set { m_OnClick = value; }
            }
  • ButtonClickedEvent? (UnityEvent)

Unity/イベント

  • Off
  • Editor And Runtime
  • Runtime Only

関連