public void OnGUI() { menu.OnGUI(); GUILayout.BeginVertical(); { componentPlayer.OnGUI(); componentPlaylist.OnGUI(); componentDirectoryBar.OnGUI(); } GUILayout.EndVertical(); }
public void OnGUI() { menu.OnGUI(); componentPlayer.OnGUI(); GUILayout.BeginHorizontal(); { GUILayout.FlexibleSpace(); componentLoopSearch.OnGUI(); GUILayout.FlexibleSpace(); } GUILayout.EndHorizontal(); GUILayout.BeginHorizontal(); { GUILayout.BeginVertical(GUILayout.Width(Screen.width / 2.0f)); { GUILayout.Label(new GUIContent("Input", "StyleLoopTool.LabelInput"), GuiStyleSet.StyleLoopTool.labelInput); GUILayout.Label(new GUIContent("", "StyleLoopTool.BackgroundInput"), GuiStyleSet.StyleLoopTool.backgroundInput); componentDirectoryBarInput.OnGUI(); componentInputlist.OnGUI(); } GUILayout.EndVertical(); GUILayout.BeginVertical(GUILayout.Width(Screen.width / 2.0f)); { GUILayout.Label(new GUIContent("Output", "StyleLoopTool.LabelOutput"), GuiStyleSet.StyleLoopTool.labelOutput); GUILayout.Label(new GUIContent("", "StyleLoopTool.BackgroundOutput"), GuiStyleSet.StyleLoopTool.backgroundOutput); componentDirectoryBarOutput.OnGUI(); componentPlaylist.OnGUI(); } GUILayout.EndVertical(); } GUILayout.EndHorizontal(); if (GUI.tooltip != "" && GUI.tooltip != tooltipPrevious) { Logger.BreakDebug(GUI.tooltip); tooltipPrevious = GUI.tooltip; } }