September 2013
Beginner
292 pages
6h 19m
English
Just like for variables, we have to let Unity know about a method before we can use it.
Depending on who you talk to, some will say we have to declare a method, others will say we have to define a method. Which is correct? In C#, it doesn't make any difference. Use which ever term helps you learn easier. I like to say I'm defining a method's code block, nothing like declaring a simple variable on a one line statement.
There are three minimum requirements for defining a method: