Exemple #1
0
        public int EventRegister(string eventName, LuaFunction callback)
        {
            var id = XEvent.RegisterFromLua(eventName, callback);

            mEventIds.Add(id);
            return(id);
        }