C# Class DebugConsole, UnityFramework

Inheritance: MonoBehaviour
Afficher le fichier Open project: meta-42/uEasyKit Class Usage Examples

Méthodes publiques

Свойство Type Description
_windowRect Rect
defaultColor Color
errorColor Color
inputColor Color
isOpenBriefView bool
logpath string
maxLinesForDisplay int
outputColor Color
systemColor Color
toggleKey KeyCode
warningColor Color

Méthodes publiques

Méthode Description
ExecCMDInputString ( string inputCMD ) : void

执行一个命令

Log ( object message ) : void
Log ( object message, MessageType messageType ) : void
LogError ( object message ) : void
LogWarning ( object message ) : void
RegisterCommand ( string commandString, DebugCommand commandCallback, string CMD_Discribes ) : void
UnRegisterCommand ( string commandString ) : void

Private Methods

Méthode Description
BuildDisplayString ( ) : string
CMD_Clear ( ) : object
CMD_Help ( ) : object
CMD_SystemInfo ( ) : object
ClearLog ( ) : void
EvalInputString ( string inputString ) : void
LogMessage ( Message msg ) : void
OnBriefView ( ) : void
OnCMDView ( ) : void
OnDestroy ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
OnLogView ( ) : void
RegisterCommandCallback ( string commandString, DebugCommand commandCallback, string CMD_Discribes ) : void
UnRegisterCommandCallback ( string commandString ) : void

Method Details

ExecCMDInputString() public méthode

执行一个命令
public ExecCMDInputString ( string inputCMD ) : void
inputCMD string
Résultat void

Log() public static méthode

public static Log ( object message ) : void
message object
Résultat void

Log() public static méthode

public static Log ( object message, MessageType messageType ) : void
message object
messageType MessageType
Résultat void

LogError() public static méthode

public static LogError ( object message ) : void
message object
Résultat void

LogWarning() public static méthode

public static LogWarning ( object message ) : void
message object
Résultat void

RegisterCommand() public static méthode

public static RegisterCommand ( string commandString, DebugCommand commandCallback, string CMD_Discribes ) : void
commandString string
commandCallback DebugCommand
CMD_Discribes string
Résultat void

UnRegisterCommand() public static méthode

public static UnRegisterCommand ( string commandString ) : void
commandString string
Résultat void

Property Details

_windowRect public_oe property

public Rect _windowRect
Résultat Rect

defaultColor public_oe property

public Color defaultColor
Résultat Color

errorColor public_oe property

public Color errorColor
Résultat Color

inputColor public_oe property

public Color inputColor
Résultat Color

isOpenBriefView public_oe property

public bool isOpenBriefView
Résultat bool

logpath public_oe static_oe property

public static string logpath
Résultat string

maxLinesForDisplay public_oe property

public int maxLinesForDisplay
Résultat int

outputColor public_oe property

public Color outputColor
Résultat Color

systemColor public_oe property

public Color systemColor
Résultat Color

toggleKey public_oe static_oe property

public static KeyCode toggleKey
Résultat KeyCode

warningColor public_oe property

public Color warningColor
Résultat Color