NewBehaviourScript.cs 1.0 KB

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. public class NewBehaviourScript : BaseBehaviour
  6. {
  7. private void Start()
  8. {
  9. base.StartCoroutine(this.TestCoroutine());
  10. }
  11. private IEnumerator TestCoroutine()
  12. {
  13. yield return new WaitForSeconds(1f);
  14. string text = "自从习近平在2012年11月的中共十八届一中全会上当选总书记和军委主席,成为最高领导人后,他以反腐败为手段,在许多观察家眼中以惊人的速度巩固权力。自邓小平以来,退休的领导人在挑选新任领导人方面发挥重大影响。第四代领导人胡锦涛是1990年代邓小平首肯的。在胡锦涛掌权十年,习近平同样得到包括前总书记江泽民在内的高层领导人的支持,并在2007年与属团派的李克强一起被推荐成为政治局常委。";
  15. yield return R.Ui.Terminal.OpenWithAnim(null);
  16. yield return R.Ui.Terminal.Println(text, 0.1f);
  17. yield break;
  18. }
  19. private Queue<float> _queue = new Queue<float>();
  20. }