Question: ( iv ) Write a general - purpose version of your Coroutine which: [ 2 ] Moves the game object between each position in a

(iv) Write a general-purpose version of your Coroutine which: [2] Moves the game object between each position in a List rather than just two positions. After arriving at each position, waits for the time defined in the Float, before continuing to the next Vector3 in the List. Your Coroutine should use the following signature: IEnumerator MoveBetween(List positions, float waitTime){}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!