// text stuff /// <summary> /// level of happiness of NPC /// your level of happiness /// how many days are left /// </summary> // Use this for initialization void Awake() { displayText = false; inConversation = false; callOnce = 5; fadeTimer = 60; fadeOut = false; dialogue = GetComponent <Dialogues>(); GetComponent <Dialogues>().SetupEverything(); player = GameObject.FindGameObjectWithTag("Player"); SetNonPlayers(); dialogue.SetupEverything(); cameraChild = camera.transform.GetChild(0).GetComponent <SpriteRenderer>(); textBox.SetActive(false); }