var active : bool
Description
Is the GameObject active? Activates/Deactivates the GameObject.
gameObject.active =
false;
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
gameObject.active =
false;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
gameObject.active =
false