void Start()
 {
     audioManager         = FindObjectOfType <AudioManager>();
     particleSystemPooler = FindObjectOfType <ParticleSystemPooler>();
     pause      = FindObjectOfType <Pause>();
     mainCamera = Camera.main;
 }
Esempio n. 2
0
 private void Awake()
 {
     Instance = this;
 }
 private void Start()
 {
     instance = this;
     InitializeDictionary();
 }
Esempio n. 4
0
    // Use this for initialization

    void Awake()
    {
        current = this;
    }
Esempio n. 5
0
 // Use this for initialization
 void Awake()
 {
     current = this;
 }