in Editor/Scripts/IntegrationStepsEditor.cs [86:167]
void RenderPluginStatus()
{
// Step 1
GUILayout.Space(10);
EditorGUILayout.BeginHorizontal();
EditorGUILayout.LabelField(contentPrivacy, Styles.richWordWrappedLabel);
if (GUILayout.Button("Privacy Policy", Styles.button, GUILayout.ExpandWidth(false)))
Application.OpenURL(
"https://developer.android.com/games/sdk/performance-tuner/unity/enable-api#privacy");
EditorGUILayout.EndHorizontal();
// Step 2
GUILayout.Space(5);
#if UNITY_2019_3_OR_NEWER
EditorGUILayout.LabelField(contentFramePacing2019, Styles.richWordWrappedLabel);
#else
EditorGUILayout.LabelField(contentFramePacing, Styles.richWordWrappedLabel);
#endif
// Step 3
GUILayout.Space(5);
EditorGUILayout.LabelField(contentInterval, Styles.richWordWrappedLabel);
var method = projectData.GetSettings().AggregationStrategy.Method;
var intervalsOrCounts = projectData.GetSettings().AggregationStrategy.IntervalmsOrCount;
EditorGUILayout.LabelField(string.Format(
contentAggregation[(int) method],
method == Settings.Types.AggregationStrategy.Types.Submission.TimeBased
? (intervalsOrCounts / 60000f /* from ms to minutes */)
: intervalsOrCounts),
Styles.richWordWrappedLabel);
// Step 4
GUILayout.Space(5);
EditorGUILayout.LabelField(contentFidelity, Styles.richWordWrappedLabel);
EditorGUILayout.LabelField(string.Format("\tYou are currently using {0} fidelity parameters",
setupConfig.useAdvancedFidelityParameters ? "custom" : "default"), Styles.richWordWrappedLabel);
if (setupConfig.useAdvancedFidelityParameters)
{
EditorGUILayout.LabelField(string.Format("\tNumber of quality levels is {0}",
projectData.messages.Count),
projectData.messages.Count == 0 ? Styles.warningLabel : Styles.richWordWrappedLabel);
}
else
{
EditorGUILayout.LabelField(contentFidelityDefault, Styles.richWordWrappedLabel);
}
// Step 5
GUILayout.Space(5);
EditorGUILayout.LabelField(contentAnnotations, Styles.richWordWrappedLabel);
EditorGUILayout.LabelField(string.Format("\tYou are currently using {0} annotations",
setupConfig.useAdvancedAnnotations ? "custom" : "default"), Styles.richWordWrappedLabel);
// Step 6
GUILayout.Space(5);
EditorGUILayout.LabelField(contentLoading, Styles.richWordWrappedLabel);
// Step 7
GUILayout.Space(5);
EditorGUILayout.LabelField(contentDebug, Styles.richWordWrappedLabel);
// Step 8
GUILayout.Space(5);
EditorGUILayout.LabelField(contentVitals, Styles.richWordWrappedLabel);
// Documentation and codelab
GUILayout.Space(30);
EditorGUILayout.BeginHorizontal();
EditorGUILayout.LabelField("Review full documentation", Styles.richWordWrappedLabel);
if (GUILayout.Button("Documentation", Styles.button, GUILayout.ExpandWidth(false)))
Application.OpenURL(
"https://developer.android.com/games/sdk/performance-tuner/unity/review-and-publish");
EditorGUILayout.EndHorizontal();
EditorGUILayout.BeginHorizontal();
EditorGUILayout.LabelField("Review codelab", Styles.richWordWrappedLabel);
if (GUILayout.Button("Codelab", Styles.button, GUILayout.ExpandWidth(false)))
Application.OpenURL(
"https://developer.android.com/codelabs/android-performance-tuner-unity");
EditorGUILayout.EndHorizontal();
}