// Use this for initialization void Start() { attackStrategy = gameObject.GetComponent <AttackStrategies>(); towerData = gameObject.GetComponent <TowerData> (); towerData.init(); }