void Start() { ShieldBarColor = GameObject.Find("ShieldBarColor"); HealthBarColor = GameObject.Find("HealthBarColor"); shield = ShieldBarColor.GetComponent <ShieldBarScript>(); health = HealthBarColor.GetComponent <HealthBar>(); }
public void Start() { health = GameObject.Find("HealthBarColor"); healthbar = health.GetComponent <HealthBar>(); Shield = GameObject.Find("ShieldBarColor"); shieldBar = Shield.GetComponent <ShieldBarScript>(); }
public void Start() { player = GameObject.Find("Player"); healthBar = GameObject.Find("HealthBarColor"); shieldBar = GameObject.Find("ShieldBarColor"); shield = shieldBar.GetComponent <ShieldBarScript>(); health = healthBar.GetComponent <HealthBar>(); }
public void Start() { healthBar1 = GameObject.Find("HealthBarColor"); shieldBar1 = GameObject.Find("ShieldBarColor"); player = GameObject.Find("Player"); levelSystem = player.GetComponent <LevelSystem>(); shieldBar = shieldBar1.GetComponent <ShieldBarScript>(); healthBar = healthBar1.GetComponent <HealthBar>(); }
void Start() { player = GameObject.Find("Player"); player1 = player.GetComponent <Player>(); movementStats = GameObject.Find("Player"); movement = movementStats.GetComponent <PlayerMovement>(); health = GameObject.Find("HealthBarColor"); healthbar = health.GetComponent <HealthBar>(); Shield = GameObject.Find("ShieldBarColor"); shieldBar = Shield.GetComponent <ShieldBarScript>(); }
private void Awake() { cb = this; button = GetComponent<dfButton>(); control = GetComponent<dfControl>(); tabcontainer = MenuTabContainer.tab; shipSelect = FindObjectOfType<dfCoverflow>(); title.Display("Create Captain"); hbs = FindObjectOfType<HullBarScript>(); sbs = FindObjectOfType<ShieldBarScript>(); }
private void Start() { movement1 = FindObjectOfType <PlayerMovement>(); Shield1 = FindObjectOfType <ShieldBarScript>(); health1 = FindObjectOfType <HealthBar>(); }
public void start() { Shield1 = FindObjectOfType <ShieldBarScript>(); }