14 lines
334 B
C#
14 lines
334 B
C#
namespace Sandbox.UI;
|
|
|
|
public class HoverInfoPanelBase : WorldPanel
|
|
{
|
|
[Property] public string Label { get; set; } = "Описание";
|
|
[Property] public bool Visible { get; set; } = false;
|
|
|
|
public HoverInfoPanelBase(SceneWorld world) : base(world)
|
|
{
|
|
PanelBounds = new Rect(-200, -100, 400, 200);
|
|
WorldScale = 0.05f;
|
|
}
|
|
}
|