Esempio n. 1
0
 private void StartFadeOut(float fade)
 {
     this.IsFading  = true;
     this.mFadeTime = fade;
     this.mState    = EventStandCharaController2.StateTypes.FadeOut;
     if ((double)this.mFadeTime > 0.0)
     {
         return;
     }
     ((CanvasGroup)((Component)this).GetComponent <CanvasGroup>()).set_alpha(0.0f);
 }
Esempio n. 2
0
 private void OnDestroy()
 {
     EventStandCharaController2.Instances.Remove(this);
     foreach (GameObject standChara in this.StandCharaList)
     {
         standChara.SetActive(false);
     }
     this.mState        = EventStandCharaController2.StateTypes.Inactive;
     this.mCurrentIndex = 0;
     this.mEmotion      = "normal";
 }