Skip to content

Instantly share code, notes, and snippets.

@HiromichiYamada
Created March 11, 2013 07:45
Show Gist options
  • Save HiromichiYamada/5132601 to your computer and use it in GitHub Desktop.
Save HiromichiYamada/5132601 to your computer and use it in GitHub Desktop.
function OnGUI () {
GUI.depth = 10; // GUIの重なり指定(数値が少ないほど前面に出る).
GUI.enabled = false; // ボタンの無効設定.
GUI.Box( Rect(10,10, 50,300), "I am not the button." ); // シンプルな枠+文字.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment