Files
sbox-public/engine/Sandbox.Engine/Systems/Project/ProjectSettings/CursorSettings.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

21 lines
345 B
C#

namespace Sandbox;
[Expose]
public class CursorSettings : ConfigData
{
[Expose]
public struct Cursor
{
[KeyProperty, ResourceType( "jpg" )]
public string Image { get; set; }
[KeyProperty]
public Vector2 Hotspot { get; set; }
}
[Hide]
public override int Version => 2;
public Dictionary<string, Cursor> Cursors { get; set; }
}