private static void HiderForFolder(AssemblingLogic logic) { EditorGUILayout.LabelField(logic.Name + " content"); EditorGUILayout.BeginHorizontal(); if (GUILayout.Button("Hide")) { logic.RemoveDebugContent(); logic.HideAllInFolders(); AssetDatabase.Refresh(); } if (GUILayout.Button("Show")) { logic.UnpackDebugFolderContent(); AssetDatabase.Refresh(); } if (GUILayout.Button("Edit")) { logic.UnHideAllInFolders(); AssetDatabase.Refresh(); } EditorGUILayout.EndHorizontal(); }
private void LogicCreation() { if (_debugLogic == null) { _debugLogic = new AssemblingLogic("DebugContent"); } if (_releaseLogic == null) { _releaseLogic = new AssemblingLogic("ReleaseContent"); } }