StoryE23P5.cs 878 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections;
  3. using I2.Loc;
  4. using UnityEngine;
  5. public class StoryE23P5 : 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(new int?(5));
  16. R.Ui.Tutorial.Hide(null);
  17. R.Ui.Tutorial.DisposeVideo();
  18. }
  19. }
  20. private IEnumerator Sequence0()
  21. {
  22. yield return R.Ui.Tutorial.Show(5);
  23. yield return R.Ui.Tutorial.PlayVideo("Movies/ps4/tutorial", "3.mp4");
  24. yield return new WaitForSeconds(1f);
  25. yield return R.Ui.Tutorial.Hide(new int?(5));
  26. yield return new WaitForSeconds(1f);
  27. yield return R.Ui.Tutorial.Show(ScriptLocalization.ui_tutorial.moreCrytalMoreAttack);
  28. yield return new WaitForSeconds(5f);
  29. yield return R.Ui.Tutorial.Hide(null);
  30. yield break;
  31. }
  32. }