static int DetectLineInNavRange(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 1); UnityEngine.Vector3 arg1 = ToLua.ToVector3(L, 2); UnityEngine.Vector3 arg2; bool o = NavUtil.DetectLineInNavRange(arg0, arg1, out arg2); LuaDLL.lua_pushboolean(L, o); ToLua.Push(L, arg2); return(2); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }