Exemplo n.º 1
0
 public void Start()
 {
     description = transform.FindChild("Description").gameObject;
     description.SetActive(false);
     compass          = GameObject.FindGameObjectWithTag("Compass").GetComponent <MoralityCompass> ();
     unrestController = GameObject.FindGameObjectWithTag("GameController").GetComponent <UnrestController> ();
 }
Exemplo n.º 2
0
 void Start()
 {
     cameraControl    = GameObject.FindGameObjectWithTag("GameController").GetComponent <CameraControl> ();
     unrestController = GameObject.FindGameObjectWithTag("GameController").GetComponent <UnrestController> ();
     prisonCam        = GameObject.FindGameObjectWithTag("PrisonCam").GetComponent <Camera> ();
     initialPos       = transform.position;
 }