Ejemplo n.º 1
0
        public void TriggerEvent(string Object, EventType Event, string[] args)
        {
            if (MyScene != null)
            {
                bool Sucess = MyScene.TriggerEvent(Object, Event, args);
#if EDITOR && WINDOWS
                if (!Sucess)
                {
                    Console.Write(Object + '.' + Event.ToString() + '(');
                    foreach (string a in args)
                    {
                        Console.Write(a);
                    }
                    Console.WriteLine(')');
                    Console.WriteLine("FAILED!");
                }
#endif
            }
        }