示例#1
0
文件: Master.cs 项目: eliot2/Sunset
    // Use this for initialization
    void Start()
    {
        charactersUnlockedTotal = PlayerPrefs.GetInt("UnlockedChars", defaultUnlocked); // 6 = Default usable characters.
        SetMSXVolume(PlayerPrefs.GetFloat("MSXVol", 0.5f));
        SetSFXVolume(PlayerPrefs.GetFloat("SFXVol", 0.5f));

        escapeHardened = false;
        escapeDisabled = false;
        if (IsOfflineMode)
        {
            return;
        }
        CBUG.Print(VersionUI.text);
        //_Audio.Play(10);
    }