Delegate SlashHitHandler
Called whenever nail strikes something
Namespace: Modding.Delegates
Assembly: HollowKnight.dll
Syntax
public delegate void SlashHitHandler(Collider2D otherCollider, GameObject slash)
Parameters
Type | Name | Description |
---|---|---|
Collider2D | otherCollider | What the nail is colliding with |
GameObject | slash | The NailSlash gameObject |