Write your own spawn function

Tutorial

·

Beginner

·

+10XP

·

30 mins

·

(1873)

Unity Technologies

Write your own spawn function

1. Write a function declaration

2. Check your function declaration

3. Write the function body

4. Identify the errors in your function

5. Introduction to scope

6. Re-declare the variables in your function

7. Replace the spawning instructions with function calls

8. Check your function calls

9. Test your changes

10. Tutorial summary

Complete this tutorial