Exemplo n.º 1
0
 static int CheckHeight(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 1);
         float o = AppConst.CheckHeight(arg0);
         LuaDLL.lua_pushnumber(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }