godot/modules/mono/glue/Managed/Files/Extensions/ResourceLoaderExtensions.cs

11 lines
202 B
C#

namespace Godot
{
public static partial class ResourceLoader
{
public static T Load<T>(string path) where T : class
{
return (T)(object)Load(path);
}
}
}