C#学习

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class Test : MonoBehaviour
{
void Start()
{
StartCoroutine('MyPrint');
}

IEnumerator Myprint()
{
yield return new WaitForSeconds(2f);
Debug.Log('hi');

}

void Update()
{

}
}