Beispiel #1
0
    private void Start()
    {
        if (!(neutralParticlePool is ObjectPooled))
        {
            neutralParticlePool =
                GameObject.Find("NeutralParticlesPool").GetComponent <ObjectPooled>();
        }

        AudioMaster.Instance.PlayMenuMusic();
    }
Beispiel #2
0
 private void Awake()
 {
     sharedInstance = this;
 }
Beispiel #3
0
 private void Awake()
 {
     current = this;
 }