mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 07:40:36 +00:00
Merge pull request #97951 from juanjp600/dotnet-dictionary-debug-view
Fix untyped dictionary .NET debug visualization showing keys as values
This commit is contained in:
commit
71fe3d96ea
@ -174,7 +174,7 @@ namespace Godot.Collections
|
|||||||
var keys = Array.CreateTakingOwnershipOfDisposableValue(keysArray);
|
var keys = Array.CreateTakingOwnershipOfDisposableValue(keysArray);
|
||||||
|
|
||||||
godot_array valuesArray;
|
godot_array valuesArray;
|
||||||
NativeFuncs.godotsharp_dictionary_keys(ref self, out valuesArray);
|
NativeFuncs.godotsharp_dictionary_values(ref self, out valuesArray);
|
||||||
var values = Array.CreateTakingOwnershipOfDisposableValue(valuesArray);
|
var values = Array.CreateTakingOwnershipOfDisposableValue(valuesArray);
|
||||||
|
|
||||||
int count = NativeFuncs.godotsharp_dictionary_count(ref self);
|
int count = NativeFuncs.godotsharp_dictionary_count(ref self);
|
||||||
|
Loading…
Reference in New Issue
Block a user