Beispiel #1
0
    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();
 }