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