お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Namespace: UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close開発中のデバッグを容易にするためのクラスです。
developerConsoleVisible | デベロッパーコンソールをオープン、またはクローズします。 |
isDebugBuild | Build Settingsダイアログに "Development Build" チェックボックスがあります。 |
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. |