var imagePosition : ImagePosition
Description描述
How image and text of the GUIContent is combined.
GUIContent的图片和文本如何组合。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void OnGUI() {
if (GUI.skin.customStyles.Length > 0)
Debug.Log(GUI.skin.customStyles[0].imagePosition);
}
}