Пример #1
0
 static int ClosePointOfTwoLines(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 1);
         UnityEngine.Vector3 arg1 = ToLua.ToVector3(L, 2);
         UnityEngine.Vector3 arg2 = ToLua.ToVector3(L, 3);
         UnityEngine.Vector3 arg3 = ToLua.ToVector3(L, 4);
         UnityEngine.Vector3 o    = UnGfx.ClosePointOfTwoLines(arg0, arg1, arg2, arg3);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }