// Use this for initialization void Start() { timerText.text = time.ToString(); loveText.text = "100%"; goalScript = goalObj.GetComponent <ScrGoalDetection>(); levelManager = GameObject.FindObjectOfType <ScrLevelManager>(); loveText.gameObject.SetActive(false); loveLabel.gameObject.SetActive(false); goodBoyLabel.gameObject.SetActive(false); levelOver = false; masterDoneAnim = false; }
// Use this for initialization void Start() { rb = GetComponent <Rigidbody>(); mainCamera = Camera.main; goalScript = goalObj.GetComponent <ScrGoalDetection>(); }