Added parameters to Load()

This commit is contained in:
Phischermen 2020-03-05 22:11:38 -08:00
parent c4daac279b
commit 1b0819bd59
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@ namespace Godot
{ {
public static partial class ResourceLoader public static partial class ResourceLoader
{ {
public static T Load<T>(string path) where T : class public static T Load<T>(string path, string typeHint = null, bool noCache = false) where T : class
{ {
return (T)(object)Load(path); return (T)(object)Load(path, typeHint, noCache);
} }
} }
} }