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

        _currentPlayerLife = initialPlayerLifes;
    }
Esempio n. 2
0
 private void OnDestroy()
 {
     SingleInstance = null;
 }