This version of Unity is unsupported.

GUIStyle.onFocused

Switch to Manual
public GUIStyleState onFocused;

Description

Rendering settings for when the element has keyboard and is turned on.

using UnityEngine;

public class Example : MonoBehaviour { void OnGUI() { GUI.skin.button.onFocused.textColor = Color.green; } }