Esempio n. 1
0
 private void InitializeScripts()
 {
     Rules     = GetComponentInParent <_TowerRules>();
     Data      = GetComponent <TowerData>();
     Particles = GetComponentInChildren <TowerParticles>();
     FWTrigger = GetComponentInChildren <FirewallTrigger>();
 }
Esempio n. 2
0
 private void InitializeScripts()
 {
     Data       = GetComponentInParent <TowerData>();
     Hub        = GetComponentInParent <Tower_Hub>();
     Harmonizer = GetComponentInParent <Harmonizer>();
     Particles  = GetComponentInChildren <TowerParticles>();
 }
Esempio n. 3
0
    //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>();
    }