Exemple #1
0
 public void AttackR()
 {
     if (bossHandR != null)
     {
         bossHandR.animator.SetBool("isReady", true);
         bossHandR = null;
     }
 }
Exemple #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;
    }