C# 클래스 DeveloperConsole, TheUnseen

Developer Console class
상속: MonoBehaviour
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
aliasList DeveloperConsoleAlias[],
autocompleteBoxMaxSize Vector2
autocompleteKeyCode KeyCode,
autocompleteSelectedColor Color
copyLogOutput bool
disallowedChars char[]
guiSkin UnityEngine.GUISkin
lineHeight float
onlyAcceptAliases bool
showCursorWhenActive bool
textFieldHeight float
toggleKeyCode KeyCode,
transitionTime float
xSizePercent float
ySizePercent float

공개 메소드들

메소드 설명
ApplyAutocompleteText ( ) : void
ApplyCommandsToGameObject ( GameObject go, string workWithText, bool printResult ) : void
CopyLogOutout ( String condition, String stackTrace, LogType type ) : void
DrawAutocompleteWindow ( string title, string names, Vector2 offset, int selectedIndex ) : void
DrawAutocompleteWindow ( string title, string names, Vector2 offset, int selectedIndex, int windowIndex ) : void
GetField ( GameObject gameObject, Component component, string fieldName ) : void
GetProperty ( GameObject gameObject, Component component, string propertyName ) : void
OnDisable ( ) : void
OnGUI ( ) : void
PrintToConsole ( string text ) : void
RunMethod ( GameObject gameObject, Component component, string methodName, string arguments, bool printResult ) : void
ScrollToDisplaySelected ( ) : void
SetField ( GameObject gameObject, Component component, string fieldName, string argument ) : void
SetProperty ( GameObject gameObject, Component component, string propertyName, string argument ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
FindAllGameObjects ( ) : IEnumerator
ParseStringToObject ( Type objectType, string argument, object &returnObject ) : bool
Start ( ) : IEnumerator

메소드 상세

ApplyAutocompleteText() 공개 메소드

public ApplyAutocompleteText ( ) : void
리턴 void

ApplyCommandsToGameObject() 공개 메소드

public ApplyCommandsToGameObject ( GameObject go, string workWithText, bool printResult ) : void
go GameObject
workWithText string
printResult bool
리턴 void

CopyLogOutout() 공개 메소드

public CopyLogOutout ( String condition, String stackTrace, LogType type ) : void
condition String
stackTrace String
type LogType
리턴 void

DrawAutocompleteWindow() 공개 메소드

public DrawAutocompleteWindow ( string title, string names, Vector2 offset, int selectedIndex ) : void
title string
names string
offset Vector2
selectedIndex int
리턴 void

DrawAutocompleteWindow() 공개 메소드

public DrawAutocompleteWindow ( string title, string names, Vector2 offset, int selectedIndex, int windowIndex ) : void
title string
names string
offset Vector2
selectedIndex int
windowIndex int
리턴 void

GetField() 공개 메소드

public GetField ( GameObject gameObject, Component component, string fieldName ) : void
gameObject GameObject
component Component
fieldName string
리턴 void

GetProperty() 공개 메소드

public GetProperty ( GameObject gameObject, Component component, string propertyName ) : void
gameObject GameObject
component Component
propertyName string
리턴 void

OnDisable() 공개 메소드

public OnDisable ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

PrintToConsole() 공개 메소드

public PrintToConsole ( string text ) : void
text string
리턴 void

RunMethod() 공개 메소드

public RunMethod ( GameObject gameObject, Component component, string methodName, string arguments, bool printResult ) : void
gameObject GameObject
component Component
methodName string
arguments string
printResult bool
리턴 void

ScrollToDisplaySelected() 공개 메소드

public ScrollToDisplaySelected ( ) : void
리턴 void

SetField() 공개 메소드

public SetField ( GameObject gameObject, Component component, string fieldName, string argument ) : void
gameObject GameObject
component Component
fieldName string
argument string
리턴 void

SetProperty() 공개 메소드

public SetProperty ( GameObject gameObject, Component component, string propertyName, string argument ) : void
gameObject GameObject
component Component
propertyName string
argument string
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

aliasList 공개적으로 프로퍼티

List of all aliases the console will utilise at runtime
public DeveloperConsoleAlias[], aliasList
리턴 DeveloperConsoleAlias[],

autocompleteBoxMaxSize 공개적으로 프로퍼티

public Vector2 autocompleteBoxMaxSize
리턴 Vector2

autocompleteKeyCode 공개적으로 프로퍼티

The key used to trigger text autocompletion during typing
public KeyCode, autocompleteKeyCode
리턴 KeyCode,

autocompleteSelectedColor 공개적으로 프로퍼티

public Color autocompleteSelectedColor
리턴 Color

copyLogOutput 공개적으로 프로퍼티

Whether or not to print standard log (Debug.Log) output to the Developer Console
public bool copyLogOutput
리턴 bool

disallowedChars 공개적으로 프로퍼티

public char[] disallowedChars
리턴 char[]

guiSkin 공개적으로 프로퍼티

The GUI Skin the console will utilise for rendering
public GUISkin,UnityEngine guiSkin
리턴 UnityEngine.GUISkin

lineHeight 공개적으로 프로퍼티

Height of each text line in the console�s output window
public float lineHeight
리턴 float

onlyAcceptAliases 공개적으로 프로퍼티

Whether or not to only accept aliases and not the standard variable and function call syntax
public bool onlyAcceptAliases
리턴 bool

showCursorWhenActive 공개적으로 프로퍼티

public bool showCursorWhenActive
리턴 bool

textFieldHeight 공개적으로 프로퍼티

Height in pixels of the console�s textbox
public float textFieldHeight
리턴 float

toggleKeyCode 공개적으로 프로퍼티

The key used to toggle the display of the console
public KeyCode, toggleKeyCode
리턴 KeyCode,

transitionTime 공개적으로 프로퍼티

Time (in seconds) that the console takes to enter and leave the frame
public float transitionTime
리턴 float

xSizePercent 공개적으로 프로퍼티

Width of the console in percentage of the screen size (0.0 to 1.0)
public float xSizePercent
리턴 float

ySizePercent 공개적으로 프로퍼티

Height of the console in percentage of the screen size (0.0 to 1.0)
public float ySizePercent
리턴 float