protected override void Update()
        {
            base.Update();
            if (Duration <= 5)
            {
                Duration = 10;
            }

            LoopingAudioSource.Update();
        }
        protected override void Update()
        {
            base.Update();

            LoopingAudioSource.Update();

            //Debug.Log(directTimer.director.time);

            if (directTimer.Chess_Check_End == true)
            {
                if (directTimer.director.time > 15f)
                {
                    AudioSource.volume = 1f;
                    //AudioSource.loop = true;
                }
            }
        }
示例#3
0
        protected override void Update()
        {
            base.Update();

            LoopingAudioSource.Update();
        }