C# 클래스 TinyTeam.Debuger.Console

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: chiuan/TTConsole

공개 프로퍼티들

프로퍼티 타입 설명
delegateInitCMD System.Action
delegateInitEventSystem System.Action
isNeedBindUnityLog bool

Private Properties

프로퍼티 타입 설명
AddPage void
AddToAsyncWriteBuff void
CMDClear object
CMDClose object
CMDHelp object
CMDShowCustomMessage object
CMDShowFPS object
CMDShowLoaderMessage object
CMDShowMemory object
CMDShowMessageType object
CMDShowNetMessage object
CMDStartAsyncLoging object
CMDSystemInfo object
CaculateCurrentMaxMsgCount int
ClearLog void
ColorToHex string
CreateNew Message
CreateNewLogFile void
DrawFPS void
DrawWindow void
DrawingContent void
EvalInputString void
FindBeginMsgIndexFromEnd int
FindCustomQueue Queue
FindEndMsgIndexFromBegin int
GetAllCurrentTypeMessages List
HexToColor Color
Init void
InitBlackground void
InitEventSystem void
InitInput void
InitScrollContent void
InitScrollView void
Log object
Log object
Log object
LogError object
LogMessage void
LogWarning object
OnLevelWasLoaded void
ProcessInput void
RegisterCommandCallback void
RunningAsyncWritingLog void
StartAsyncWriteLog void
StopAsyncWriteLog void
UnRegisterCommandCallback void
UpdateKeyCode void

공개 메소드들

메소드 설명
Clear ( ) : void

Clears all console output.

ExecCMDInputString ( string inputCMD ) : void
HandleUnityLog ( string condition, string stackTrace, LogType type ) : void
OnDestroy ( ) : void
RegisterCommand ( string commandString, object>.Func commandCallback, string CMD_Discribes ) : void
Start ( ) : void
UnRegisterCommand ( string commandString ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
AddPage ( int val ) : void

val : 1 , -1 mean left or right.

AddToAsyncWriteBuff ( string text ) : void

写入到文本缓冲区

CMDClear ( string args ) : object
CMDClose ( string args ) : object
CMDHelp ( string args ) : object
CMDShowCustomMessage ( string args ) : object
CMDShowFPS ( string args ) : object
CMDShowLoaderMessage ( string args ) : object
CMDShowMemory ( string args ) : object
CMDShowMessageType ( string args ) : object
CMDShowNetMessage ( string args ) : object
CMDStartAsyncLoging ( string args ) : object
CMDSystemInfo ( string args ) : object
CaculateCurrentMaxMsgCount ( ) : int
ClearLog ( ) : void
ColorToHex ( Color32 color ) : string
CreateNew ( object messageObject, MessageType messageType, Color displayColor, string customType ) : Message
CreateNewLogFile ( ) : void
DrawFPS ( ) : void
DrawWindow ( bool isHide ) : void
DrawingContent ( ) : void

draw the cosole windows dynamic NOTE:only show current page.

EvalInputString ( string inputString ) : void
FindBeginMsgIndexFromEnd ( ) : int
FindCustomQueue ( string customType ) : Queue
FindEndMsgIndexFromBegin ( ) : int
GetAllCurrentTypeMessages ( ) : List
HexToColor ( string hex ) : Color
Init ( ) : void
InitBlackground ( GameObject windows ) : void
InitEventSystem ( ) : void
InitInput ( GameObject windows ) : void
InitScrollContent ( GameObject scrollView ) : void
InitScrollView ( GameObject windows ) : void
Log ( object message, MessageType messageType ) : object
Log ( object message, string customType ) : object
Log ( object message, string customType, Color col ) : object
LogError ( object message, string customType ) : object
LogMessage ( Message msg ) : void
LogWarning ( object message, string customType ) : object
OnLevelWasLoaded ( int level ) : void
ProcessInput ( string cmd ) : void
RegisterCommandCallback ( string commandString, object>.Func commandCallback, string CMD_Discribes ) : void
RunningAsyncWritingLog ( ) : void
StartAsyncWriteLog ( ) : void

Start A asyncWriteLog Server.

StopAsyncWriteLog ( ) : void
UnRegisterCommandCallback ( string commandString ) : void
UpdateKeyCode ( ) : void

메소드 상세

Clear() 공개 정적인 메소드

Clears all console output.
public static Clear ( ) : void
리턴 void

ExecCMDInputString() 공개 메소드

public ExecCMDInputString ( string inputCMD ) : void
inputCMD string
리턴 void

HandleUnityLog() 공개 메소드

public HandleUnityLog ( string condition, string stackTrace, LogType type ) : void
condition string
stackTrace string
type LogType
리턴 void

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

RegisterCommand() 공개 정적인 메소드

public static RegisterCommand ( string commandString, object>.Func commandCallback, string CMD_Discribes ) : void
commandString string
commandCallback object>.Func
CMD_Discribes string
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

UnRegisterCommand() 공개 정적인 메소드

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

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

delegateInitCMD 공개적으로 프로퍼티

public Action,System delegateInitCMD
리턴 System.Action

delegateInitEventSystem 공개적으로 프로퍼티

public Action,System delegateInitEventSystem
리턴 System.Action

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

unity log binding
public static bool isNeedBindUnityLog
리턴 bool