コード例 #1
0
ファイル: BounceStats.cs プロジェクト: Run19/GGJ-LostAndFound
    private void Awake()
    {
        _easyMode = PlayerPrefs.GetInt("Immortal");
        if (SingleInstance == null)
        {
            SingleInstance = this;
        }

        _currentPlayerLife = initialPlayerLifes;
    }
コード例 #2
0
ファイル: BounceStats.cs プロジェクト: Run19/GGJ-LostAndFound
 private void OnDestroy()
 {
     SingleInstance = null;
 }