From 07b710301431eed982ecfc07aa7393a390680621 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Thu, 21 May 2015 15:06:47 +0100 Subject: [PATCH] Fixed API change for Unity 5.0.2 --- Assets/Fungus/Camera/Editor/ViewEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Fungus/Camera/Editor/ViewEditor.cs b/Assets/Fungus/Camera/Editor/ViewEditor.cs index 12479f2f..a9c6fe21 100644 --- a/Assets/Fungus/Camera/Editor/ViewEditor.cs +++ b/Assets/Fungus/Camera/Editor/ViewEditor.cs @@ -17,7 +17,7 @@ namespace Fungus protected SerializedProperty viewSizeProp; // Draw Views when they're not selected - [DrawGizmo(GizmoType.NotSelected | GizmoType.SelectedOrChild)] + [DrawGizmo(GizmoType.NotInSelectionHierarchy | GizmoType.InSelectionHierarchy)] static void RenderCustomGizmo(Transform objectTransform, GizmoType gizmoType) { View view = objectTransform.gameObject.GetComponent();