Пример #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);
 }