static int _m_ChangeTargetTime(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); TimeControl gen_to_be_invoked = (TimeControl)translator.FastGetCSObj(L, 1); { float _time_ = (float)LuaAPI.lua_tonumber(L, 2); gen_to_be_invoked.ChangeTargetTime(_time_); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }