private void Awake() { if (quantityText == null) { quantityText = GetComponentInChildren <TextMeshProUGUI>(); } dataOutput = GameEventData.GetInstance(); }