Fix array index of result value type in Visual Script

This commit is contained in:
Wojciech Figat
2022-01-10 14:20:13 +01:00
parent 5ffdbe553b
commit 730933dd35

View File

@@ -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[]
{