// Start is called before the first frame update void Start() { m_foodCollectedText = GetComponent <TextMeshProUGUI>(); m_player = GameObject.Find("Player").GetComponent <PlayerGrowth>(); }