// Use this for initialization public override void Start () { base.Start (); //set up basic stats MaxHitPoints = InitialHealth; HitPoints = InitialHealth; LaserCharge = transform.GetComponentsInChildren<ParticleSystem>()[0]; LaserFire = GameObject.Find ("Laser_Fire").particleSystem; BBallShield = GameObject.Find ("BBall_Shield").GetComponent<BBallShieldCombatant>(); }
// Use this for initialization public override void Start() { base.Start(); //set up basic stats MaxHitPoints = InitialHealth; HitPoints = InitialHealth; LaserCharge = transform.GetComponentsInChildren <ParticleSystem>()[0]; LaserFire = GameObject.Find("Laser_Fire").particleSystem; BBallShield = GameObject.Find("BBall_Shield").GetComponent <BBallShieldCombatant>(); }