|
There are many words that are placed after function javascript. Examples: OnCollisionEnter, OnMouseUp, Update. Could someone make a list of all of them? I know that there can be endless amounts when you use other parts such as BroadcastMessage("someWord"). But I just want to know all the common ones to know if I'm missing some of them. If there is a link to a list just send that. The reason I'm asking this question is because I haven't been able to find them on the scripting reference page. Thanks.
(comments are locked)
|
|
Here are the main runtime ones (under Overridable Functions): http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.html
(comments are locked)
|
|
those functions are defined in Monobehaviour class. you override them to create new functionality. those functions are not virtual and unity uses reflection to call them and see if they exist or not. i know that this info might not be important for the questioner but others will read this too.
Jul 30 '10 at 06:09 PM
Ashkan_gc
indeed... and I am finding out that reflection is one progammer's best friend. (1 point up!) Thank you.
Oct 16 '10 at 08:26 PM
dingben
(comments are locked)
|
