Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     // get script reference
     game_controller       = GameObject.Find("Game_Controller").GetComponent <game_Controller_Script>();
     localMeshRend         = gameObject.GetComponent <MeshRenderer>();
     localMeshRend.enabled = false;
     isIdentified          = false;
     isDead   = true;
     isAngry  = false;
     canSpawn = false;
 }
Ejemplo n.º 2
0
 void Start()
 {
     game_controller = GameObject.Find("Game_Controller").GetComponent <game_Controller_Script>();
     fireText.SetActive(false);
 }