StoryE23P7.cs 770 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections;
  3. using I2.Loc;
  4. using UnityEngine;
  5. public class StoryE23P7 : BaseBehaviour
  6. {
  7. private void Start()
  8. {
  9. base.StartCoroutine(this.Sequence0());
  10. }
  11. private void OnDestroy()
  12. {
  13. if (!SingletonMono<UIController>.ApplicationIsQuitting)
  14. {
  15. R.Ui.Tutorial.Hide(null);
  16. R.Ui.Tutorial.Hide(new int?(6));
  17. }
  18. }
  19. private IEnumerator Sequence0()
  20. {
  21. yield return R.Ui.Tutorial.Show(ScriptLocalization.ui_tutorial.moreComboMoreAttack);
  22. yield return new WaitForSeconds(5f);
  23. yield return R.Ui.Tutorial.Hide(null);
  24. yield return new WaitForSeconds(2f);
  25. yield return R.Ui.Tutorial.Show(6);
  26. yield return new WaitForSeconds(5f);
  27. yield return R.Ui.Tutorial.Hide(new int?(6));
  28. yield break;
  29. }
  30. }