Property | Type | Description | |
---|---|---|---|
attackSpeed | float | ||
damage | float | ||
enemyTag | string | ||
hitboxes | UnityEngine.PolygonCollider2D[] | ||
sprite | Sprite[] |
Method | Description | |
---|---|---|
OnTriggerEnter2D ( |
||
Start ( ) : void |
Method | Description | |
---|---|---|
playAnimation ( float duration ) : IEnumerator |
public OnTriggerEnter2D ( |
||
collider | ||
return | void |
public PolygonCollider2D[],UnityEngine hitboxes | ||
return | UnityEngine.PolygonCollider2D[] |