Skip to content

Commit

Permalink
Added parameters to Load()
Browse files Browse the repository at this point in the history
(cherry picked from commit 1b0819b)
  • Loading branch information
Phischermen authored and akien-mga committed Mar 6, 2020
1 parent f9dcc30 commit 69c1805
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit 69c1805

Please sign in to comment.