Example #1
0
    private void Awake()
    {
        _easyMode = PlayerPrefs.GetInt("Immortal");
        if (SingleInstance == null)
        {
            SingleInstance = this;
        }

        _currentPlayerLife = initialPlayerLifes;
    }
Example #2
0
 private void OnDestroy()
 {
     SingleInstance = null;
 }