Parcourir la source

Merge pull request #45959 from Xartorx/fix-mono-load-cache

Fix Mono build after resource load cache changes
Rémi Verschelde il y a 4 ans
Parent
commit
4c0d889191

+ 1 - 1
modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs

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