This commit is contained in:
CortexCore
2024-04-16 04:15:21 +08:00
parent 337840ebb3
commit 3ffbaae6c8
26 changed files with 505 additions and 25 deletions

View File

@@ -0,0 +1,10 @@
using Godot;
using System;
namespace BITKit
{
public partial class BITResource<T> : Resource
{
}
}

View File

@@ -8,4 +8,8 @@ public partial class StringResource : Resource
[Export]
private string value { get; set; }
public string Value => value;
public static implicit operator string(StringResource resource)
{
return resource.Value;
}
}