言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Debug

Namespace: UnityEngine

Description

開発中のデバッグを容易にするためのクラスです。

Static Variables

developerConsoleVisible デベロッパーコンソールをオープン、またはクローズします。
isDebugBuild Build Settingsダイアログに "Development Build" チェックボックスがあります。

Static Functions

Break エディターを停止させます。
ClearDeveloperConsole デベロッパーコンソールからエラーを削除します。
DrawLine 指定した開始位置と終了位置の間にラインを描画します。
DrawRay ワールド座標にて start (開始地点)から start + dir (開始地点+方向)までラインを描画します。
Log Logs message to the Unity Console.
LogError A variant of Debug.Log that logs an error message to the console.
LogException A variant of Debug.Log that logs an error message from an exception to the console.
LogWarning A variant of Debug.Log that logs a warning message to the console.