public void SetEvent(_run_event act) { actRun = act; theEvent = XmlStage.GetEvent(actRun.eventID); if (theEvent != null) { theEvent.Start(); } else { Debug.Log("Event NULL"); } }
public void SetEvent(XmlEvent evt) { actRun = null; theEvent = evt;// AppMgr.getEvent(actRun.eventID); if (theEvent != null) { theEvent.Start(); } else { Debug.Log("Event NULL"); } }