SpriteOffsetComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct SpriteOffsetComponent : IComponent

Implements: IComponent

⭐ Constructors

public SpriteOffsetComponent(float x, float y)

Parameters
x float
y float

public SpriteOffsetComponent(Vector2 offset)

Parameters
offset Vector2

⭐ Properties

Offset

public readonly Vector2 Offset;

Returns
Vector2