// Use this for initialization void Start() { formula = textCalc.GetComponent <Text>(); score = scoreManagerObj.GetComponent <ScoreManager>(); life = lifeManagerObj.GetComponent <LifeManager>(); invaders = invadersObj.GetComponent <InvadersManager>(); textEqual10 = textEqual10Obj.GetComponent <TextResultManager>(); textOver10 = textOver10Obj.GetComponent <TextResultManager>(); CalcClear(); }
// Use this for initialization void Start() { invadersManager = invaders.GetComponent <InvadersManager>(); }