static int _m_InvertSettings(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.GraphUpdateScene gen_to_be_invoked = (Pathfinding.GraphUpdateScene)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.InvertSettings( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_GetBounds(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.GraphUpdateScene gen_to_be_invoked = (Pathfinding.GraphUpdateScene)translator.FastGetCSObj(L, 1); { UnityEngine.Bounds gen_ret = gen_to_be_invoked.GetBounds( ); translator.PushUnityEngineBounds(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }