// Use this for initialization void Start() { //bros small = GameManagerScript.SB; big = GameManagerScript.BB; //waiting for player text waitingForPlayerText = GameObject.Find("WaitingForPlayerText").GetComponent<Image>(); waitingForDialogueText = GameObject.Find("WaitingForDialogueText").GetComponent<Image>(); //dialog dialogue = FindObjectOfType<GameManagerScript>().GetComponent<DialogueScript>(); betterCamScript = Camera.main.GetComponent<BetterCameraScript>(); }
void Start() { camScript = Camera.main.GetComponent<BetterCameraScript>(); }