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>();
 }