Ejemplo n.º 1
0
 static int MapItemToEnemy(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         LoadMap             obj  = (LoadMap)ToLua.CheckObject(L, 1, typeof(LoadMap));
         UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2);
         UnityEngine.Vector3 o    = obj.MapItemToEnemy(arg0);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }