Esempio n. 1
0
 protected void Awake()
 {
     Animation = new DialogAnimation(this);
     Writing   = new DialogWriting(this, sentenceText, authorText);
     Sequence  = new DialogSequence(this);
     OnShow   += Writing.StartWriting;
     OnShow   += () => CreateButtons(Sequence.GetCurrent());
     Hide();
 }
Esempio n. 2
0
 private void Awake()
 {
     dialogAnimation = ((Component)base.transform.FindChild("Dialog")).GetComponent <DialogAnimation>();
     panel           = GetComponent <UIPanel>();
     nowPage         = 0;
     if (Blur != null)
     {
         Blur.enabled = false;
     }
 }
Esempio n. 3
0
 private void Awake()
 {
     this.dialogAnimation = base.get_transform().FindChild("Dialog").GetComponent <DialogAnimation>();
     this.panel           = base.GetComponent <UIPanel>();
     this.nowPage         = 0;
     if (this.Blur != null)
     {
         this.Blur.set_enabled(false);
     }
 }
Esempio n. 4
0
 public bool Init()
 {
     Util.FindParentToChild(ref card, base.transform, "CardPanel");
     Util.FindParentToChild(ref status, base.transform, "StatusPanel");
     Util.FindParentToChild(ref statusMaxIcons, base.transform, "StatusMaxIcons");
     Util.FindParentToChild(ref parameter, base.transform, "ParamaterPanel");
     Util.FindParentToChild(ref slotItem, base.transform, "SlotItemPanel");
     if (DialogAnim == null)
     {
         DialogAnim = ((Component)base.transform).GetComponent <DialogAnimation>();
     }
     Util.FindParentToChild(ref buttons, base.transform, "ButtonPanel");
     Util.FindParentToChild(ref MaskBg, base.transform, "MaskBg");
     MaskBg.size = Vector2.right * 1060f + Vector2.up * 544f;
     return(true);
 }
Esempio n. 5
0
 public bool Init()
 {
     Util.FindParentToChild <OrganizeDetail_Card>(ref this.card, base.get_transform(), "CardPanel");
     Util.FindParentToChild <OrganizeDetail_Status>(ref this.status, base.get_transform(), "StatusPanel");
     Util.FindParentToChild <OrganizeDetail_StatusMaxIcons>(ref this.statusMaxIcons, base.get_transform(), "StatusMaxIcons");
     Util.FindParentToChild <OrganizeDetail_Paramerter>(ref this.parameter, base.get_transform(), "ParamaterPanel");
     Util.FindParentToChild <OrganizeDetail_SlotItemManager>(ref this.slotItem, base.get_transform(), "SlotItemPanel");
     if (this.DialogAnim == null)
     {
         this.DialogAnim = base.get_transform().GetComponent <DialogAnimation>();
     }
     Util.FindParentToChild <OrganizeDetail_Buttons>(ref this.buttons, base.get_transform(), "ButtonPanel");
     Util.FindParentToChild <BoxCollider2D>(ref this.MaskBg, base.get_transform(), "MaskBg");
     this.MaskBg.set_size(Vector2.get_right() * 1060f + Vector2.get_up() * 544f);
     return(true);
 }
Esempio n. 6
0
 private void OnDestroy()
 {
     if (ienum != null)
     {
         StopCoroutine(ienum);
     }
     ienum               = null;
     myPanel             = null;
     dialogAnimation     = null;
     dialogMessages      = null;
     BackCollider        = null;
     keyController       = null;
     CameraBlur          = null;
     CommonMessage       = null;
     Children            = null;
     ShikakuButtonAction = null;
 }
 private void OnDestroy()
 {
     this.key                         = null;
     this.key2                        = null;
     this._itemm                      = null;
     this.SpriteButtonO               = null;
     this.SpriteButtonX               = null;
     this.SpriteStickR                = null;
     this.mDialogAnimation_Exchange   = null;
     this.mDialogAnimation_UseLimit   = null;
     this.mDialogAnimation_StoreBuy   = null;
     this.mDialogAnimation_UseConfirm = null;
     this._uiLabelX                   = null;
     this.model                       = null;
     this._uil                        = null;
     this._uis                        = null;
 }
Esempio n. 8
0
 private void OnDestroy()
 {
     mPanelThis              = null;
     mButtonManager          = null;
     mDialogAnimation        = null;
     mTexture_FriendDeckFlag = null;
     mTexture_TargetDeckFlag = null;
     mFriendUIPracticeBattleConfirmShipSlot = null;
     mTargetUIPracticeBattleConfirmShipSlot = null;
     mButton_Cancel        = null;
     mButton_Start         = null;
     mLabel_FriendDeckName = null;
     mLabel_TargetDeckName = null;
     mKeyController        = null;
     mFriendDeck           = null;
     mTargetDeck           = null;
     mButtonsFocasable     = null;
 }
Esempio n. 9
0
 private void OnDestroy()
 {
     if ((UnityEngine.Object)playingTutorialVoiceAudioClip != null)
     {
         playingTutorialVoiceAudioClip.Stop();
     }
     playingTutorialVoiceAudioClip = null;
     dialogAnimation = null;
     View            = null;
     panel           = null;
     key             = null;
     OnClosed        = null;
     OnLoaded        = null;
     for (int i = 0; i < page.Length; i++)
     {
         page[i] = null;
     }
     Mem.DelAry(ref page);
     Blur = null;
 }
Esempio n. 10
0
 private void OnDestroy()
 {
     if (this.playingTutorialVoiceAudioClip != null)
     {
         this.playingTutorialVoiceAudioClip.Stop();
     }
     this.playingTutorialVoiceAudioClip = null;
     this.dialogAnimation = null;
     this.View            = null;
     this.panel           = null;
     this.key             = null;
     this.OnClosed        = null;
     this.OnLoaded        = null;
     for (int i = 0; i < this.page.Length; i++)
     {
         this.page[i] = null;
     }
     Mem.DelAry <UIWidget>(ref this.page);
     this.Blur = null;
 }