Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

GUIContent.none

マニュアルに切り替える
public static GUIContent none;

説明

空 GUIContent オブジェクトを作成します

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnGUI() { GUI.Button(new Rect(0, 0, 100, 20), GUIContent.none); } }