public NodeStates RangeAttack() { tWeapon = GetComponentInChildren <WeaponAttack>(); tWeapon.CreateBullet(); GetComponentInChildren <Animator>().SetTrigger("flash"); return(NodeStates.success); }
public NodeStates Shoot() { weaponAttack.CreateBullet(); return(NodeStates.fail); }