static int _s_set_use2D(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.TargetMover gen_to_be_invoked = (Pathfinding.TargetMover)translator.FastGetCSObj(L, 1); gen_to_be_invoked.use2D = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _s_set_target(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.TargetMover gen_to_be_invoked = (Pathfinding.TargetMover)translator.FastGetCSObj(L, 1); gen_to_be_invoked.target = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform)); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_onlyOnDoubleClick(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.TargetMover gen_to_be_invoked = (Pathfinding.TargetMover)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.onlyOnDoubleClick); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_mask(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.TargetMover gen_to_be_invoked = (Pathfinding.TargetMover)translator.FastGetCSObj(L, 1); UnityEngine.LayerMask gen_value; translator.Get(L, 2, out gen_value); gen_to_be_invoked.mask = gen_value; } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { Pathfinding.TargetMover gen_ret = new Pathfinding.TargetMover(); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to Pathfinding.TargetMover constructor!")); }
static int _m_OnGUI(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.TargetMover gen_to_be_invoked = (Pathfinding.TargetMover)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.OnGUI( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }