【3Dゲームエンジン】Unity 8
■ このスレッドは過去ログ倉庫に格納されています
0864名前は開発中のものです。
2012/02/12(日) 09:13:12.53ID:LOypBL9jpublic class SelectionGrid : MonoBehaviour {
public Texture[] textures = new Texture[4];
public int selected = 2;
void OnGUI () {
selected = GUILayout.SelectionGrid (selected, textures, 2);
Debug.Log ("Selected = " + selected);
}
}
■ このスレッドは過去ログ倉庫に格納されています