public IEnumerator StartAnimation()
        {
            this.shockWaveparticle.Play();
            this.circleParticleAppear.Play();
            yield return(new WaitForSeconds(0.5f));

            this.sound.PlaySE("SEInternal/Cutscene/se_210");
            if (MonsterGrowStepData.IsRipeScope(this.growStep))
            {
                this.auraParticleYellow.Play();
            }
            else if (MonsterGrowStepData.IsGrowStepHigh(this.growStep))
            {
                this.auraParticleRed.Play();
            }
            else
            {
                this.auraParticleBlue.Play();
            }
            yield return(new WaitForSeconds(0.9f));

            this.rareSignParticleSpark.Stop();
            yield return(new WaitForSeconds(1.2f));

            base.EndCallback();
            yield break;
        }
示例#2
0
 public void StartAnimation(string growStep)
 {
     this.rareSignParticleSpark.Clear();
     if (MonsterGrowStepData.IsGrowStepHigh(growStep))
     {
         this.rareSignRainbowBox.SetActive(true);
     }
     else
     {
         this.rareSignRainbowBox.SetActive(false);
     }
     this.subCamera.transform.localPosition = new Vector3(0f, 1f, -2f);
     if (MonsterGrowStepData.IsRipeScope(growStep))
     {
         this.mainCamera.backgroundColor = this.bgColorRareLow;
         this.subCamera.backgroundColor  = this.bgColorRareLow;
     }
     else if (MonsterGrowStepData.IsGrowStepHigh(growStep))
     {
         this.mainCamera.backgroundColor = this.bgColorRareMiddle;
         this.subCamera.backgroundColor  = this.bgColorRareMiddle;
     }
     else
     {
         this.mainCamera.backgroundColor = this.bgColorRareNone;
         this.subCamera.backgroundColor  = this.bgColorRareNone;
     }
     this.cameraSwitcher.SetLookAtObject(this.rareSignParticle);
     this.cameraSwitcher.EnableSubCamera();
     base.EndCallback();
 }