介紹Coroutine的各種應用:
1. 重複多次( for, while )
2. Start用在Coroutine上。IEnumerator Start()
3. Delay For Loading Scene
介紹Coroutine的各種應用:
1. 重複多次( for, while )
2. Start用在Coroutine上。IEnumerator Start()
3. Delay For Loading Scene
怎樣取的path(0)下的waypoint(0~2)?
兩種方式在 Laser Defender 中使用Coroutin連續發射。
Lesson 92. Using Coroutines
1. What is a Coroutine?
介紹ScriptableObject,用來實現 文字遊戲的 state 流程.
特點:
1. 建立一個資料容器的樣板 template ,可以存放資料。
1.1 1. TextArea
2. store data out of script。 如果有一個包含script的Prefab,當 instantiate 那個 Prefab時,就會有復數的資料產生,但是使用ScriptableObject可以避免。
Different between Trigger event and Collision event:
Size of Camera
Unit