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