Esempio n. 1
0
 public void AttackL()
 {
     if (bossHandL != null)
     {
         bossHandL.animator.SetBool("isReady", true);
         bossHandL = null;
     }
 }
Esempio n. 2
0
    public void Ready()
    {
        GameObject temp = Instantiate(pbHandL, transform);

        temp.transform.localPosition = posL.localPosition;
        bossHandL = temp.GetComponent <BossHandL>();
        bossHandL.centerPosition = posL.localPosition;
        bossHandL.heartBoss      = this;

        temp = Instantiate(pbHandR, transform);
        temp.transform.localPosition = posR.localPosition;
        bossHandR = temp.GetComponent <BossHandR>();
        bossHandR.centerPosition = posR.localPosition;
        bossHandR.heartBoss      = this;
    }