コード例 #1
0
 /// <summary>
 /// Triggers a button event using the button's event name
 /// </summary>
 public virtual void TriggerButtonEvent()
 {
     MMDebugMenuButtonEvent.Trigger(ButtonEventName);
 }
コード例 #2
0
 /// <summary>
 /// Triggers a button event of the selected index
 /// </summary>
 /// <param name="index"></param>
 public virtual void TriggerButtonEvent(int index)
 {
     MMDebugMenuButtonEvent.Trigger(Choices[index].ButtonEventName);
 }
コード例 #3
0
 /// <summary>
 /// This test methods will send a set event to all buttons bound to the ButtonEventName
 /// </summary>
 protected virtual void TestSetValue()
 {
     MMDebugMenuButtonEvent.Trigger(ButtonEventName, TestValue, MMDebugMenuButtonEvent.EventModes.SetButton);
 }