// Token: 0x0600224E RID: 8782 RVA: 0x00405CC8 File Offset: 0x00403EC8 public override void UpdateUI(int arg1, int arg2) { if (arg1 == 10) { if (this.TalkTextL != null && this.TalkTextL.enabled) { this.TalkTextL.enabled = false; this.TalkTextL.enabled = true; } if (this.TalkTextR != null && this.TalkTextR.enabled) { this.TalkTextR.enabled = false; this.TalkTextR.enabled = true; } if (this.SelectText1 != null && this.SelectText1.enabled) { this.SelectText1.enabled = false; this.SelectText1.enabled = true; } if (this.SelectText2 != null && this.SelectText2.enabled) { this.SelectText2.enabled = false; this.SelectText2.enabled = true; } return; } this.NowKey += 1; LoadingTalk recordByKey = this.GM.LoadingTalkTable.GetRecordByKey(this.NowKey); while (recordByKey.ID != 0 && recordByKey.Kind >= 3) { this.NowKey += 1; recordByKey = this.GM.LoadingTalkTable.GetRecordByKey(this.NowKey); } this.LoadByKey(this.NowKey); }
// Token: 0x0600224F RID: 8783 RVA: 0x00405E38 File Offset: 0x00404038 private void Update() { if (!this.bLoadAllActor) { this.SetActor(); } if (this.bCheckWaitTime) { if (this.bWaitSelect) { this.WaitSelectTime -= Time.deltaTime; if (this.WaitSelectTime <= 0f) { this.QuestBtn2.SetActive(true); uTweenScale uTweenScale = uTweenScale.Begin(this.QuestBtn2, Vector3.zero, Vector3.one, 1.3f, 0f); if (uTweenScale) { uTweenScale.easeType = EaseType.easeOutBounce; } AudioManager.Instance.PlayUISFX(UIKind.BuildUp); this.bWaitSelect = false; this.SelectCountTime = 3.5f; this.bSelectCount = false; } } else { if (this.NowData.Kind == 2 && this.SelectCountTime >= 0f) { if (this.bSelectCount) { this.SelectCountTime2 -= Time.deltaTime; if (this.SelectCountTime2 <= 0f) { uTweenScale.Begin(this.QuestBtn2, new Vector3(1.1f, 1.1f, 1.1f), Vector3.one, 0.5f, 0f); this.bSelectCount = false; AudioManager.Instance.PlayUISFX(UIKind.HeroLevelup); } } this.SelectCountTime -= Time.deltaTime; if (this.SelectCountTime <= 0f) { this.SelectCountTime = 3.5f; this.bSelectCount = true; this.SelectCountTime2 = 0.1f; uTweenScale.Begin(this.QuestBtn1, new Vector3(1.1f, 1.1f, 1.1f), Vector3.one, 0.5f, 0f); AudioManager.Instance.PlayUISFX(UIKind.HeroLevelup); } } this.WaitTime -= Time.deltaTime; if (this.WaitTime <= 0f) { if (this.NowData.Kind == 2) { this.NowKey = this.NowData.TimeUpGotoID; AudioManager.Instance.PlayUISFX(UIKind.HeroEnhance); } else { this.NowKey += 1; LoadingTalk recordByKey = this.GM.LoadingTalkTable.GetRecordByKey(this.NowKey); while (recordByKey.ID != 0 && recordByKey.Kind >= 3) { this.NowKey += 1; recordByKey = this.GM.LoadingTalkTable.GetRecordByKey(this.NowKey); } } this.LoadByKey(this.NowKey); } } } }