PCに関する雑多な記録

PCに関する諸々の備忘録に変身。

記事のタイトルを入力してください(必須)

2014年12月19日 | ubuntu
メモ



using UnityEngine;
using System.Collections;

public class Seq : MonoBehaviour {
GUIStyle buttonStyle = null;

// Use this for initialization
void Start () {
}

// Update is called once per frame
void Update () {
}

void OnGUI() {
if (buttonStyle == null) {
buttonStyle = new GUIStyle(GUI.skin.button);
buttonStyle.fontSize = 32;
}
if (GUI.Button(new Rect(0, 0, 200, 300), "Button", buttonStyle)) {
}
}
}


--