Files
Delta-v/Content.Client/Clickable/ClickableComponent.cs
T
metalgearsloth 070aa3cde2 Make clickable 1% nicer (#29706)
* Make vox roundstart

I believe all the issues are fixed.

* Click detection bandaid

* Make clickable 1% nicer

Still bad. Still doesn't handle multi-viewports well.
2024-08-09 19:17:26 +01:00

18 lines
435 B
C#

namespace Content.Client.Clickable;
[RegisterComponent]
public sealed partial class ClickableComponent : Component
{
[DataField] public DirBoundData? Bounds;
[DataDefinition]
public sealed partial class DirBoundData
{
[DataField] public Box2 All;
[DataField] public Box2 North;
[DataField] public Box2 South;
[DataField] public Box2 East;
[DataField] public Box2 West;
}
}