|
||||||||||||||||
|
||||||||||||||||
Scripting Overview
This is a short overview of how scripting inside Unity works. Scripting inside Unity consists of attaching custom script objects called behaviours to game objects. Different functions inside the script objects are called on certain events. The most used ones being the following:
Note: Sections of this document assume you are using Javascript, but see Writing scripts in C# for information about how to use C# or Boo scripts. You can also define event handlers. These all have names starting with On, (i.e. OnCollisionEnter). To see the full list of predefined events, see the documentation for MonoBehaviour. Subsections |
|
|||||||||||||||
|
Ruslan Slobodianiuk © unity3dforge.com все права защищены
|
||||||||||||||||
Полезные ресурсы:
Программа для создания скриншотов