Version: 2017.1
public RectOffset padding ;

설명

Space from the edge of GUIStyle to the start of the contents.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { private RectOffset rctOff; void OnGUI() { rctOff = GUI.skin.button.padding; Debug.Log("Left: " + rctOff.left + " Right: " + rctOff.right); Debug.Log("Top: " + rctOff.top + " Bottom: " + rctOff.bottom); } }