示例#1
0
 private void OnClick()
 {
     if (m_GameEvent != null)
     {
         m_GameEvent.Raise();
     }
 }
示例#2
0
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            ShowValueField();

            if (GUILayout.Button("Raise"))
            {
                gameEvent.Raise(value);
            }
        }