[unity] Don't process icons in play mode.

This commit is contained in:
John 2017-06-28 16:05:23 +08:00 committed by GitHub
parent 7f367dd496
commit 220b5b5282

View File

@ -253,7 +253,7 @@ namespace Spine.Unity.Editor {
showHierarchyIcons = EditorGUILayout.Toggle(new GUIContent("Show Hierarchy Icons", "Show relevant icons on GameObjects with Spine Components on them. Disable this if you have large, complex scenes."), showHierarchyIcons);
if (EditorGUI.EndChangeCheck()) {
EditorPrefs.SetBool(SHOW_HIERARCHY_ICONS_KEY, showHierarchyIcons);
HierarchyIconsOnChanged();
HierarchyIconsOnPlaymodeStateChanged();
}
EditorGUILayout.Separator();