/// <summary> /// Triggers a button event using the button's event name /// </summary> public virtual void TriggerButtonEvent() { MMDebugMenuButtonEvent.Trigger(ButtonEventName); }
/// <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); }
/// <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); }