mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Revamped equipment init
This commit is contained in:
parent
5719738be9
commit
2a016fd30c
16 changed files with 76 additions and 81 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue