Пример #1
0
 // Use this for initialization
 void Start()
 {
     ams       = GameObject.Find("AudioManager").GetComponent <AudioManagerScript>();
     toDestroy = false;
     Instantiate(tmPartSys, transform);
     t = 0;
     //if (inTimeWarp) ams.LowerMusic(slowdownDuration);
     //else ams.LowerMusic(timeWarpSlowdownDuration);
     reverbZone         = ams.GetActualReverb();
     reverbZoneTimeBomb = ams.GetReverbTimeBomb();
     reverbZone.SetActive(false);
     reverbZoneTimeBomb.SetActive(true);
     //if (Time.timeScale == 1.5f) sizeMultiplier = 1.5f;
     //if (Time.timeScale >= 2.0f) sizeMultiplier = 3.0f;
 }