From 730933dd35515c0de3ce8cbab93b0a7f34855e03 Mon Sep 17 00:00:00 2001 From: Wojciech Figat Date: Mon, 10 Jan 2022 14:20:13 +0100 Subject: [PATCH] Fix array index of result value type in Visual Script --- Source/Editor/Surface/Archetypes/Collections.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Editor/Surface/Archetypes/Collections.cs b/Source/Editor/Surface/Archetypes/Collections.cs index bae3f8ed7..29118426b 100644 --- a/Source/Editor/Surface/Archetypes/Collections.cs +++ b/Source/Editor/Surface/Archetypes/Collections.cs @@ -69,7 +69,7 @@ namespace FlaxEditor.Surface.Archetypes Size = new Vector2(170, 40), ConnectionsHints = ConnectionsHint.Array, IndependentBoxes = new int[] { 0 }, - DependentBoxes = new int[] { 1, 2 }, + DependentBoxes = new int[] { 1 }, DependentBoxFilter = GetArrayItemType, Elements = new[] { @@ -88,7 +88,7 @@ namespace FlaxEditor.Surface.Archetypes Size = new Vector2(170, 40), ConnectionsHints = ConnectionsHint.Array, IndependentBoxes = new int[] { 0 }, - DependentBoxes = new int[] { 1, 2 }, + DependentBoxes = new int[] { 1 }, DependentBoxFilter = GetArrayItemType, Elements = new[] {