static public int Move(IntPtr l) { try { UnityEngine.NavMeshAgent self = (UnityEngine.NavMeshAgent)checkSelf(l); UnityEngine.Vector3 a1; checkType(l, 2, out a1); self.Move(a1); return(0); } catch (Exception e) { LuaDLL.luaL_error(l, e.ToString()); return(0); } }
static public int Move(IntPtr l) { try { UnityEngine.NavMeshAgent self = (UnityEngine.NavMeshAgent)checkSelf(l); UnityEngine.Vector3 a1; checkType(l, 2, out a1); self.Move(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int Move(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.NavMeshAgent obj = (UnityEngine.NavMeshAgent)ToLua.CheckObject(L, 1, typeof(UnityEngine.NavMeshAgent)); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); obj.Move(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }