Browse Source

Fixed API change for Unity 5.0.2

master
chrisgregan 10 years ago
parent
commit
07b7103014
  1. 2
      Assets/Fungus/Camera/Editor/ViewEditor.cs

2
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<View>();

Loading…
Cancel
Save