IEnumerator blinking() { while (true) { // Debug.Log("DamBlink:"+gameObject.name); yield return(new WaitForSeconds(damagePeriod)); DamageHitbox.activeHitbox(); yield return(new WaitForFixedUpdate()); DamageHitbox.deActiveHitbox(); } }
public void ActiveNormalAtkHitbox() { normalAtkDH.activeHitbox(); }