source generator
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using Godot;
|
||||
|
||||
namespace Nocturnis.GlobalManagement.Providers;
|
||||
|
||||
public static class GlobalProvider
|
||||
@@ -8,4 +10,19 @@ public static class GlobalProvider
|
||||
public static ISceneProvider? SceneProvider { get; set; }
|
||||
public static IPolymorphismProvider? PolymorphismProvider { get; set; }
|
||||
public static IDataPackageTypeProvider? DataPackageTypeProvider { get; set; }
|
||||
public static ITextureProvider? TextureProvider { get; set; }
|
||||
|
||||
public static readonly Dictionary<StringName, PackedScene> AssetNameMapper = new();
|
||||
|
||||
public static class ItemIconMapper<W>
|
||||
{
|
||||
public static Texture2D? Texture { get; set; }
|
||||
}
|
||||
|
||||
public static class AssetMapper<T>
|
||||
{
|
||||
public static PackedScene Scene { get; set; }
|
||||
}
|
||||
|
||||
public static Font Font { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user