Level 6: SCRIPTING CONTROL FLOW
Level 6 Cornell Notes KEY (Click here)
11/19/19 - Methods/Functions
- Reopen L6 Practice scene; then create a new C# script (called Methods1) in your Scripts folder
- Watch "Method Example 1" (video shown below)
- Keep the Methods1 script open
- Create a new C# script (called Methods2) in your Scripts folder
- Copy and paste all of your script from Methods1 (except lines 1-5) into the Methods2 script
- Watch "Method Example 2" (video shown below) and practice with the Methods2 script
- Now create a new C# script (called Methods3) in your Scripts folder
- Watch "Method Example 3" (video shown below)
- Now create a new C# script (called Methods4) in your Scripts folder
- Watch "Method Example 4" (video shown below)