Version: 2022.1
言語: 日本語
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."); } }