C# 클래스 DebugConsole, UnityFramework

상속: MonoBehaviour
파일 보기 프로젝트 열기: meta-42/uEasyKit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_windowRect Rect
defaultColor Color
errorColor Color
inputColor Color
isOpenBriefView bool
logpath string
maxLinesForDisplay int
outputColor Color
systemColor Color
toggleKey KeyCode
warningColor Color

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

ExecCMDInputString() 공개 메소드

执行一个命令
public ExecCMDInputString ( string inputCMD ) : void
inputCMD string
리턴 void

Log() 공개 정적인 메소드

public static Log ( object message ) : void
message object
리턴 void

Log() 공개 정적인 메소드

public static Log ( object message, MessageType messageType ) : void
message object
messageType MessageType
리턴 void

LogError() 공개 정적인 메소드

public static LogError ( object message ) : void
message object
리턴 void

LogWarning() 공개 정적인 메소드

public static LogWarning ( object message ) : void
message object
리턴 void

RegisterCommand() 공개 정적인 메소드

public static RegisterCommand ( string commandString, DebugCommand commandCallback, string CMD_Discribes ) : void
commandString string
commandCallback DebugCommand
CMD_Discribes string
리턴 void

UnRegisterCommand() 공개 정적인 메소드

public static UnRegisterCommand ( string commandString ) : void
commandString string
리턴 void

프로퍼티 상세

_windowRect 공개적으로 프로퍼티

public Rect _windowRect
리턴 Rect

defaultColor 공개적으로 프로퍼티

public Color defaultColor
리턴 Color

errorColor 공개적으로 프로퍼티

public Color errorColor
리턴 Color

inputColor 공개적으로 프로퍼티

public Color inputColor
리턴 Color

isOpenBriefView 공개적으로 프로퍼티

public bool isOpenBriefView
리턴 bool

logpath 공개적으로 정적으로 프로퍼티

public static string logpath
리턴 string

maxLinesForDisplay 공개적으로 프로퍼티

public int maxLinesForDisplay
리턴 int

outputColor 공개적으로 프로퍼티

public Color outputColor
리턴 Color

systemColor 공개적으로 프로퍼티

public Color systemColor
리턴 Color

toggleKey 공개적으로 정적으로 프로퍼티

public static KeyCode toggleKey
리턴 KeyCode

warningColor 공개적으로 프로퍼티

public Color warningColor
리턴 Color