Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


monobehaviour

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
monobehaviour [2021/04/08 17:45] – created 73.95.178.156monobehaviour [2021/04/30 15:10] 73.95.178.156
Line 2: Line 2:
  
 ===== Event Functions ===== ===== Event Functions =====
 +
 +==== Reset() ====
 +  * Reset is only called in editor mode.
 +  * Very useful to setup values for your attributes, i.e. find a child component.
 +  * Use it with the RequireComponent attribute to always get a reference for your component. 
 +
 +==== Awake() ====
 +  * Awake will still be called for disabled components on enabled objects.
  
 ==== Start() ==== ==== Start() ====
monobehaviour.txt · Last modified: 2025/01/15 04:35 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki