Beispiel #1
0
        static int _m_Awake(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.RepeatedTimer gen_to_be_invoked = (DCET.Model.RepeatedTimer)translator.FastGetCSObj(L, 1);



                {
                    long          _repeatedTime = LuaAPI.lua_toint64(L, 2);
                    System.Action _callback     = translator.GetDelegate <System.Action>(L, 3);

                    gen_to_be_invoked.Awake(_repeatedTime, _callback);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }