/// <summary> /// A callback for messages. /// </summary> /// <param name="evt"></param> public void OnMessageSenderEvent(utlEventRouter.utlEvent evt) { if (evt.HasData) { if (evt.Data[0].ToString() == "Condition Change") { //do something cool here } } }
/// <summary> /// A callback for messages. /// </summary> /// <param name="evt"></param> public void OnMessageSenderEvent(utlEventRouter.utlEvent evt) { if (evt.HasData) { if (evt.Data[0].ToString() == "Condition Change") { m_ChangeState = true; } } }