Browse Source

Views now always render

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

2
Assets/Fungus/Camera/Editor/ViewEditor.cs

@ -9,7 +9,7 @@ using Fungus;
public class ViewEditor : Editor
{
// Draw Views when they're not selected
[DrawGizmo(GizmoType.NotSelected)]
[DrawGizmo(GizmoType.NotSelected | GizmoType.SelectedOrChild)]
static void RenderCustomGizmo(Transform objectTransform, GizmoType gizmoType)
{
View view = objectTransform.gameObject.GetComponent<View>();

Loading…
Cancel
Save