|
|
@ -167,15 +167,8 @@ namespace Fungus.EditorUtils |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool isActive = flowchart.IsActive(); |
|
|
|
|
|
|
|
if (PrefabUtility.GetPrefabType(flowchart.gameObject) == PrefabType.Prefab) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
isActive = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (Selection.activeGameObject == null && |
|
|
|
if (Selection.activeGameObject == null && |
|
|
|
flowchart.SelectedBlock != null && |
|
|
|
flowchart.SelectedBlock != null ) |
|
|
|
isActive) |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
if (blockInspector == null) |
|
|
|
if (blockInspector == null) |
|
|
|
{ |
|
|
|
{ |
|
|
|