BugReporter.OnGUI C# (CSharp) Method

OnGUI() private method

private OnGUI ( ) : void
return void
    void OnGUI()
    {
        GUILayout.Label("Please take a minute to tell us what happened in as much detail as possible. This makes it possible for us to fix the problem.");

        EditorGUILayout.Separator();

        email = EditorGUILayout.TextField(emailLabel, email);

        EditorGUILayout.Separator();

        GUILayout.Label("Problem Details:");
        details = EditorGUILayout.TextArea(details);

        EditorGUILayout.BeginHorizontal();

            GUILayout.FlexibleSpace();

            if (GUILayout.Button(submitLabel, GUILayout.ExpandWidth(false))) {
                // TODO Send bug report
                Debug.Log("Bug report sent.");
            }
        EditorGUILayout.EndHorizontal();
    }