Ejemplo n.º 1
0
	// 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>();

	}
Ejemplo n.º 2
0
    // 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>();
    }