コード例 #1
0
 static int PlayMusic3D(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 8);
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 1, typeof(UnityEngine.GameObject));
         string arg1 = ToLua.CheckString(L, 2);
         int    arg2 = (int)LuaDLL.luaL_checknumber(L, 3);
         float  arg3 = (float)LuaDLL.luaL_checknumber(L, 4);
         bool   arg4 = LuaDLL.luaL_checkboolean(L, 5);
         float  arg5 = (float)LuaDLL.luaL_checknumber(L, 6);
         float  arg6 = (float)LuaDLL.luaL_checknumber(L, 7);
         string arg7 = ToLua.CheckString(L, 8);
         AudioPlayManager.PlayMusic3D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }