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

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