in Editor/Scripts/AndroidPerformanceTunerWindow.cs [126:174]
void OnGUI()
{
Styles.InitAllStyles();
if (!Initializer.valid)
{
// Initialization of plugins data failed. If this happens, don't display UI.
// Display list of possible problems and how to solve it.
// TODO(kseniia): add list of problems and how to solve it
GUILayout.Space(k_Offset);
EditorGUILayout.HelpBox(Initializer.initMessage, MessageType.Warning);
return;
}
m_ToolbarEnabled[4] = m_SetupConfig.useAdvancedFidelityParameters;
DrawMenu();
using (new GUILayout.HorizontalScope())
{
GUILayout.Space(k_MenuWidth + k_Offset);
using (new GUILayout.VerticalScope())
{
GUILayout.Space(k_Offset);
GUILayout.Label(m_ToolbarOptions[m_ToolbarSelected],
new GUIStyle(EditorStyles.boldLabel) {fontSize = 16});
switch (m_ToolbarSelected)
{
case 0:
m_SettingsEditor.OnGUI();
break;
case 1:
m_IntegrationStepsEditor.OnGUI();
break;
case 2:
m_AnnotationMessageEditor.OnGUI();
break;
case 3:
m_FidelityMessageEditor.OnGUI();
break;
case 4:
m_FidelityParametersEditor.OnGUI();
break;
case 5:
m_InstrumentationSettingsEditor.OnGUI();
break;
}
}
}
}