Purpose: A unique class for controlling the spider boss and it's abilities.
Наследование: MonoBehaviour
Пример #1
0
 private void Awake()
 {
     bossScript    = bossTarget.GetComponent <BossOne>();
     timer         = 0.0f;
     waypointIndex = 1;
     reloadTime    = 3.0f;
     cannonHit     = false;
     bossDmg       = false;
     CannonStates();
 }
Пример #2
0
    private void Start()
    {
        GameObject bossOne       = GameObject.Find("Boss1");
        BossOne    bossOneScript = bossOne.GetComponent <BossOne>();

        if (bossOneScript.isLeft == false)
        {
            travelSpeed *= -1;
        }
    }
Пример #3
0
 private void Start()
 {
     bossOne = GetComponentInParent <BossOne>();
 }