예제 #1
0
        /**
         * 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 +"')");
        }
예제 #2
0
 private void Notify(GameObject l, GameEvent e)
 {
     l.SendMessage(e.name, e);
 }
예제 #3
0
 private void Notify(GameObject l, GameEvent e)
 {
     l.SendMessage (e.name, e);
 }