summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPhischermen <kevfischermen@gmail.com>2020-03-05 22:11:38 -0800
committerPhischermen <kevfischermen@gmail.com>2020-03-06 13:41:35 -0800
commit1b0819bd595f6ca41ac6f357369ca4805c41c01e (patch)
treeef2723a2dfd77f3f6c54b52b11fe8af89dff7c4d /modules
parentc4daac279b8ec6f4893056ba6717624f701ab970 (diff)
Added parameters to Load()
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs
index 684d160b57..5f64c09a89 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs
@@ -2,9 +2,9 @@ namespace Godot
{
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);
}
}
}