mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Merge pull request #36842 from Phischermen/mono-resource-loader-extension-update
Mono/C#: Add missing parameters to 'ResourceLoader.Load<T>()'
This commit is contained in:
commit
6635e25b2c
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user