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

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