You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
committed by
Rémi Verschelde
parent
f9dcc30566
commit
69c1805735
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user