C# Класс Shell, UnityREPL

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
editorState TextEditor
helpScrollPosition Vector2
scrollPosition Vector2
showVars bool

Открытые методы

Метод Описание
Cut ( TextEditor editor ) : string
Indent ( TextEditor editor ) : string
OnDestroy ( ) : void
OnDisable ( ) : void
OnGUI ( ) : void
OnLostFocus ( ) : void
Paste ( TextEditor editor, string textToPaste, bool continueSelection ) : string
ShowHelp ( ) : void
Unindent ( TextEditor editor ) : string
Update ( ) : void

Приватные методы

Метод Описание
FilterEditorInputs ( ) : void
ForceFocus ( string selectedControl, string desiredControl ) : void
HandleInputFocusAndStateForEditor ( ) : void
IndentCommand ( ) : void
Init ( ) : void
ShowEditor ( ) : void
ShowVars ( ) : void
UnindentCommand ( ) : void
ValidateIndentCommand ( ) : bool
ValidateUnindentCommand ( ) : bool

Описание методов

Cut() публичный Метод

public Cut ( TextEditor editor ) : string
editor TextEditor
Результат string

Indent() публичный Метод

public Indent ( TextEditor editor ) : string
editor TextEditor
Результат string

OnDestroy() публичный Метод

public OnDestroy ( ) : void
Результат void

OnDisable() публичный Метод

public OnDisable ( ) : void
Результат void

OnGUI() публичный Метод

public OnGUI ( ) : void
Результат void

OnLostFocus() публичный Метод

public OnLostFocus ( ) : void
Результат void

Paste() публичный Метод

public Paste ( TextEditor editor, string textToPaste, bool continueSelection ) : string
editor TextEditor
textToPaste string
continueSelection bool
Результат string

ShowHelp() публичный Метод

public ShowHelp ( ) : void
Результат void

Unindent() публичный Метод

public Unindent ( TextEditor editor ) : string
editor TextEditor
Результат string

Update() публичный Метод

public Update ( ) : void
Результат void

Описание свойств

editorState публичное свойство

public TextEditor editorState
Результат TextEditor

helpScrollPosition публичное свойство

public Vector2 helpScrollPosition
Результат Vector2

scrollPosition публичное свойство

public Vector2 scrollPosition
Результат Vector2

showVars публичное свойство

public bool showVars
Результат bool