ゲスト 31人 と メンバー0人 がオンラインです

概要

Label等を追加する際に「GUIStyle」を設定する

 

サンプル

// テキスト表示に使用する白ペン
GUIStyle whitePen = new GUIStyle();
whitePen.fontSize = 16;
whitePen.fontStyle = FontStyle.Normal;
whitePen.normal.textColor = Color.white;

// デバッグテキストの表示
GUILayout.Label("サンプルテキスト", whitePen);