Exemplo n.º 1
0
 void OnGUI()
 {
     GUILayout.Label("<b><color=yellow>WARNING</color></b>", EditorStyles.boldLabel);
     GUILayout.Label(WarningWindow.message, EditorStyles.label);
     GUILayout.Space(24f);
     DontShowAgain = GUILayout.Toggle(DontShowAgain, "Don't Show Again");
     GUILayout.Space(12f);
     if (GUILayout.Button("Okay"))
     {
         window.Close();
     }
 }