瀏覽代碼

Merge pull request #68253 from dzil123/fix_array_shuffle

Fix c# Array.Shuffle incorrect mono bindings
Ignacio Roldán Etcheverry 2 年之前
父節點
當前提交
ec521a405a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/NativeFuncs.cs

+ 1 - 1
modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/NativeFuncs.cs

@@ -374,7 +374,7 @@ namespace Godot.NativeInterop
 
         public static partial Error godotsharp_array_resize(ref godot_array p_self, int p_new_size);
 
-        public static partial Error godotsharp_array_shuffle(ref godot_array p_self);
+        public static partial void godotsharp_array_shuffle(ref godot_array p_self);
 
         public static partial void godotsharp_array_to_string(ref godot_array p_self, out godot_string r_str);