static int UnloadRuntimeClips(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 1);
     Games.Module.Sound.SoundManager obj = (Games.Module.Sound.SoundManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "Games.Module.Sound.SoundManager");
     obj.UnloadRuntimeClips();
     return(0);
 }
    static int ChangeMusicBg(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        Games.Module.Sound.SoundManager obj = (Games.Module.Sound.SoundManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "Games.Module.Sound.SoundManager");
        string arg0 = LuaScriptMgr.GetLuaString(L, 2);

        obj.ChangeMusicBg(arg0);
        return(0);
    }
    static int get_CurrentAudioSource(IntPtr L)
    {
        object o = LuaScriptMgr.GetLuaObject(L, 1);

        Games.Module.Sound.SoundManager obj = (Games.Module.Sound.SoundManager)o;

        if (obj == null)
        {
            LuaTypes types = LuaDLL.lua_type(L, 1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name CurrentAudioSource");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index CurrentAudioSource on a nil value");
            }
        }

        LuaScriptMgr.Push(L, obj.CurrentAudioSource);
        return(1);
    }
    static int set_CurrentAudioSourceBg(IntPtr L)
    {
        object o = LuaScriptMgr.GetLuaObject(L, 1);

        Games.Module.Sound.SoundManager obj = (Games.Module.Sound.SoundManager)o;

        if (obj == null)
        {
            LuaTypes types = LuaDLL.lua_type(L, 1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name CurrentAudioSourceBg");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index CurrentAudioSourceBg on a nil value");
            }
        }

        obj.CurrentAudioSourceBg = (AudioSource)LuaScriptMgr.GetUnityObject(L, 3, typeof(AudioSource));
        return(0);
    }
    static int set_mCurMusicName(IntPtr L)
    {
        object o = LuaScriptMgr.GetLuaObject(L, 1);

        Games.Module.Sound.SoundManager obj = (Games.Module.Sound.SoundManager)o;

        if (obj == null)
        {
            LuaTypes types = LuaDLL.lua_type(L, 1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name mCurMusicName");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index mCurMusicName on a nil value");
            }
        }

        obj.mCurMusicName = LuaScriptMgr.GetString(L, 3);
        return(0);
    }