Пример #1
0
 private void Awake()
 {
     stormSystemAnimator      = stormSystem.GetComponent <Animator>();
     stormSoundControlsScript = stormSystemSoundHolder.GetComponent <StormSoundControls>();
     generalIncorrectAnswerOrInteractionComment = FMODUnity.RuntimeManager.CreateInstance("event:/Monologue/ThatDidntWork");
     generalRainSoundScript = generalRainSoundHolder.GetComponent <GeneralRainSoundsScript>();
     TurulSaysIgenSound     = FMODUnity.RuntimeManager.CreateInstance("event:/ElementsPuzzle/igen");
 }
 private void Awake()
 {
     stormSystemAnimator      = stormSystem.GetComponent <Animator>();
     stormSoundControlsScript = stormSystemSoundHolder.GetComponent <StormSoundControls>();
     lockViewScript           = playerCamera.GetComponent <LockView>();
     gateCreakAndLockSound    = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/GateCreakAndLock");
     generalRainSoundScript   = generalRainSoundHolder.GetComponent <GeneralRainSoundsScript>();
 }