Beispiel #1
0
    private void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }
        else if (instance != this)
        {
            Destroy(this.gameObject);
        }

        ConditionsDB.Init();
    }
 private void Awake()
 {
     ConditionsDB.Init();
 }
 private void Awake()
 {
     Instance = this;
     ConditionsDB.Init();
     BattleMusic = GetComponent <AudioSource>();
 }
Beispiel #4
0
 private void Awake()
 {
     Instance = this;
     ConditionsDB.Init();
 }