GameObject.activevar active : booleanDescriptionIs the GameObject active? Activates/Deactivates the GameObject.
JavaScript
// Deactivates the game object. using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > GameObject | Switch to Component | |||
GameObject.activevar active : booleanDescriptionIs the GameObject active? Activates/Deactivates the GameObject.
JavaScript
// Deactivates the game object. using UnityEngine; import UnityEngine |