private void InitializeScripts() { Rules = GetComponentInParent <_TowerRules>(); Data = GetComponent <TowerData>(); Particles = GetComponentInChildren <TowerParticles>(); FWTrigger = GetComponentInChildren <FirewallTrigger>(); }
private void InitializeScripts() { Data = GetComponentInParent <TowerData>(); Hub = GetComponentInParent <Tower_Hub>(); Harmonizer = GetComponentInParent <Harmonizer>(); Particles = GetComponentInChildren <TowerParticles>(); }
//private void InitializeData() { } private void InitializeScripts() { Data = GetComponent <TowerData>(); TBehavior = GetComponent <TowerBehavior>(); Appearance = GetComponentInChildren <TowerAppearance>(); Spawner = GetComponent <UnitSpawner>(); Circle = GetComponentInChildren <SelectionCircle>(); Particles = GetComponentInChildren <TowerParticles>(); FWTrigger = GetComponentInChildren <FirewallTrigger>(); UI = GetComponentInChildren <TowerUI>(); }