Example #1
0
        //LuaFunction _call = null;

        public LuaEvent(LuaTable table)            
        {
            self = table;
            luaState = table.GetLuaState();
            self.AddRef();

            _add = self.RawGetLuaFunction("Add");
            _remove = self.RawGetLuaFunction("Remove");
            //_call = self.RawGetLuaFunction("__call");            
        }
Example #2
0
        //LuaFunction _call = null;

        public LuaEvent(LuaTable table)
        {
            self     = table;
            luaState = table.GetLuaState();
            self.AddRef();

            _add    = self.RawGetLuaFunction("Add");
            _remove = self.RawGetLuaFunction("Remove");
            //_call = self.RawGetLuaFunction("__call");
        }