Unity 6.3
0 онлайн 40 гостей 3 в системе
Вход

GUISkin.button

Declaration

public GUIStyle button;

Описание

Стиль, используемый по умолчанию для GUI.Button элементов управления.

using UnityEngine;

public class Example : MonoBehaviour { // Modifies only the button style of the current GUISkin

GUIStyle style;

void OnGUI() { GUI.skin.box = style; GUILayout.Button("This is a button."); } }