Revamped equipment init

This commit is contained in:
Marco 2025-04-07 15:58:43 +02:00
commit 2a016fd30c
16 changed files with 76 additions and 81 deletions

View file

@ -6,6 +6,7 @@ namespace Cirno.Scripts.Resources.DebugMenu;
public partial class DebugMapSelectResource : Resource
{
[Export] public bool Enabled { get; private set; } = true;
[Export] public MapResource Map { get; private set; }
[Export] public string Path { get; private set; }
[Export] private string _name { get; set; }
@ -14,6 +15,8 @@ public partial class DebugMapSelectResource : Resource
[Export] public Texture2D Icon { get; private set; }
public string ScenePath => Map is not null ? Map.ScenePath : Path;
public string DisplayName
{
get