public void attack() { //Call atk animation and hit myAni.SetTrigger("atk"); myHero.getHit(myAgent.atk); }