C#学习 发表于 2022-09-23 更新于 2024-09-14 分类于 Unity 阅读次数: 阅读时长 ≈ 1 分钟 12345678910111213141516171819public class Test : MonoBehaviour{ void Start() { StartCoroutine('MyPrint'); } IEnumerator Myprint() { yield return new WaitForSeconds(2f); Debug.Log('hi'); } void Update() { }}