Ejemplo n.º 1
0
 static int PauseMusic3D(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 1, typeof(UnityEngine.GameObject));
         int   arg1 = (int)LuaDLL.luaL_checknumber(L, 2);
         bool  arg2 = LuaDLL.luaL_checkboolean(L, 3);
         float arg3 = (float)LuaDLL.luaL_checknumber(L, 4);
         AudioPlayManager.PauseMusic3D(arg0, arg1, arg2, arg3);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }