using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Test : MonoBehaviour
{
private string str;
// Use this for initialization
void Start () {
str="的感觉是的空间任何,涣发";
StartCoroutine(Read());
}
IEnumerator Read()
{
for (int i = 0; i < str.Length; i++)
{
Debug.Log(str[i]);
yield return new WaitForSeconds(2);
}
}
}