Exemple #1
0
 private Vector3 originalPosition; //originalPosition of boss before flying
 // Start is called before the first frame update
 void Start()
 {
     bossAttack    = GetComponent <BossAttack>();
     isNotOffStage = true;
     tempPosition  = transform.position;
     bossAttack2   = GetComponent <BossAttack2>();
 }
//    public Slider healthBar;

    // Start is called before the first frame update
    void Start()
    {
        bossAttack = GameObject.Find("Boss").GetComponent <BossAttack>();
        bossAttack.canDoCooldown = true;
        bossAttack2    = GetComponent <BossAttack2>();
        playerMovement = GameObject.FindGameObjectWithTag("Player").GetComponent <Transform>();
    }