protected override void Awake() { base.Awake(); _textComponent = GetComponent <Text>(); _counterIndex = GameItem.GetCounterIndex(Counter); Assert.AreNotEqual(-1, _counterIndex, string.Format("The specified Counter '{0}' was not found. Check that is exists in the game configuration.", Counter)); }