Unity forge
Console
Manual     Reference     Scripting   
Unity Manual > Advanced > Debugging > Console

Console

Double-clicking an error in the Status Bar or choosing Window->Console will bring up the Console.


Console in the editor.

The Console shows messages, warnings, errors, or debug output from your game. You can define your own messages to be sent to the Console using Debug.Log(), Debug.LogWarning, or Debug.LogError(). You can double-click any message to be taken to the script that caused the message. You also have a number of options on the Console Toolbar.

Console control toolbar helps your filter your debug output.

  • Pressing Clear will remove all current messages from the Console.
  • When Collapse is enabled, identical messages will only be shown once.
  • When Clear on play is enabled, all messages will be removed from the Console every time you go into Play mode.
  • When Error Pause is enabled, Debug.LogError() will cause the pause to occur but Debug.Log() will not.
  • Pressing Open Player Log will open the Player Log in a text editor (or using the Console app on Mac).
  • Pressing Open Player Log will open the Editor Log in a text editor (or using the Console app on Mac).

Page last updated: 2010-09-08


Unity3dРекламный блок Unity3d



Установить Adobe Flash плеер
Ruslan Slobodianiuk © unity3dforge.com все права защищены