protected override void Awake()
        {
            base.Awake();

            // constant effect, so set the duration really high and add an infinite looping sound
            LoopingAudioSource = new LoopingAudioSource(this, AudioSource, StartTime, StopTime);
            Duration = 5;
        }
Пример #2
0
        protected override void Awake()
        {
            base.Awake();

            // constant effect, so set the duration really high and add an infinite looping sound
            LoopingAudioSource = new LoopingAudioSource(this, AudioSource, StartTime, StopTime);
            // Duration = 999999999;
        }
Пример #3
0
        protected override void Awake()
        {
            base.Awake();

            LoopingAudioSource = new LoopingAudioSource(this, AudioSource, StartTime, StopTime);
        }