Skip to content

SpriteFrame.SetHitBox(string, Rectangle) Method

Definition

Namespace: Brine2D.Animation

Sets a named hit box.

public void SetHitBox(string name, Brine2D.Core.Rectangle rect);

Parameters

name System.String

rect Rectangle