C# 클래스 Consolation.Console

A console to display Unity's debug logs in-game.
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: gamemachine/gamemachine

공개 프로퍼티들

프로퍼티 타입 설명
shakeAcceleration float
shakeToOpen bool
toggleKey KeyCode

공개 메소드들

메소드 설명
ConsoleWindow ( int windowID ) : void

A window that displayss the recorded logs.

HandleLog ( string message, string stackTrace, LogType type ) : void

Records a log from the log callback.

OnDisable ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
Update ( ) : void

메소드 상세

ConsoleWindow() 공개 메소드

A window that displayss the recorded logs.
public ConsoleWindow ( int windowID ) : void
windowID int Window ID.
리턴 void

HandleLog() 공개 메소드

Records a log from the log callback.
public HandleLog ( string message, string stackTrace, LogType type ) : void
message string Message.
stackTrace string Trace of where the message came from.
type LogType Type of message (error, exception, warning, assert).
리턴 void

OnDisable() 공개 메소드

public OnDisable ( ) : void
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

shakeAcceleration 공개적으로 프로퍼티

The (squared) acceleration above which the window should open.
public float shakeAcceleration
리턴 float

shakeToOpen 공개적으로 프로퍼티

Whether to open the window by shaking the device (mobile-only).
public bool shakeToOpen
리턴 bool

toggleKey 공개적으로 프로퍼티

The hotkey to show and hide the console window.
public KeyCode toggleKey
리턴 KeyCode