diff options
Diffstat (limited to 'modules/mono/glue/cs_files/ResourceLoaderExtensions.cs')
-rw-r--r-- | modules/mono/glue/cs_files/ResourceLoaderExtensions.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/mono/glue/cs_files/ResourceLoaderExtensions.cs b/modules/mono/glue/cs_files/ResourceLoaderExtensions.cs new file mode 100644 index 0000000000..ceecc589e6 --- /dev/null +++ b/modules/mono/glue/cs_files/ResourceLoaderExtensions.cs @@ -0,0 +1,10 @@ +namespace Godot +{ + public static partial class ResourceLoader + { + public static T Load<T>(string path) where T : Godot.Resource + { + return (T) Load(path); + } + } +} |