Skip to content

Instantly share code, notes, and snippets.

@Arakade
Created July 13, 2014 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Arakade/9e16f424449a6dcb8902 to your computer and use it in GitHub Desktop.
Save Arakade/9e16f424449a6dcb8902 to your computer and use it in GitHub Desktop.
AssertionComponentEditor should includeChildren so Comparer/ActionBase subclasses can include Arrays, etc.
.../UnityTestTools/Assertions/Editor/AssertionComponentEditor.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ProjectName/Assets/UnityTestTools/Assertions/Editor/AssertionComponentEditor.cs b/ProjectName/Assets/UnityTestTools/Assertions/Editor/AssertionComponentEditor.cs
index 1860f7b..c5d19a0 100644
--- a/ProjectName/Assets/UnityTestTools/Assertions/Editor/AssertionComponentEditor.cs
+++ b/ProjectName/Assets/UnityTestTools/Assertions/Editor/AssertionComponentEditor.cs
@@ -208,7 +208,7 @@ namespace UnityTest
var sp = so.FindProperty(prop.Name);
if (sp != null)
{
- EditorGUILayout.PropertyField (sp);
+ EditorGUILayout.PropertyField (sp, true);
so.ApplyModifiedProperties ();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment