/** * Send an event to the queue */ public void Send(GameEvent ev) { queue.Enqueue (ev); if (doLogEvents) Debug.Log ("EventManager: [Send] Sending event to queue ('"+ ev.name +"')"); }
private void Notify(GameObject l, GameEvent e) { l.SendMessage(e.name, e); }
private void Notify(GameObject l, GameEvent e) { l.SendMessage (e.name, e); }