Esempio n. 1
0
    void Awake()
    {
        instance           = this;
        _audioSource       = GetComponent <AudioSource>();
        _audioSource.pitch = Time.timeScale;

        QualitySettings.pixelLightCount = lights.Length;
    }
Esempio n. 2
0
 void Awake()
 {
     instance = this;
 }