summaryrefslogtreecommitdiff
path: root/modules/mono/glue/Managed/Files/Extensions/ResourceLoaderExtensions.cs
blob: 684d160b57c93b0699dc0bd50fa85ea88ca2b060 (plain)
1
2
3
4
5
6
7
8
9
10
namespace Godot
{
    public static partial class ResourceLoader
    {
        public static T Load<T>(string path) where T : class
        {
            return (T)(object)Load(path);
        }
    }
}