// Use this for initialization void Start() { HM = Spawn.CountEnemy(HMCount); print(HM); HMText = GetComponent <Text>(); UpdateDisplay(); }