Table of Contents

Class CommandConsole

Namespace
Framework.Systems.Diagnostics.Console
Assembly
Assembly-CSharp.dll

개발용 Command Console. 입력 처리 + 로그 표시 + 기본 명령 제공. Game 전용 명령은 CommandRegistry.Register() 로 외부에서 주입한다.

public sealed class CommandConsole : MonoBehaviour
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
CommandConsole

Remarks

[빌드 정책] UNITY_EDITOR || DEVELOPMENT_BUILD 에서만 컴파일. [Framework 규칙] Framework → Game 참조 금지. 명령 내용을 알지 못한다. [토글] F2 (기본값). DiagnosticsConfig 미사용, Console 전용 단축키.

Methods

Register(ICommand)

Game 프로젝트에서 명령을 등록할 때 사용. Framework 는 등록된 명령의 내용을 알지 못한다.

public void Register(ICommand command)

Parameters

command ICommand

Unregister(ICommand)

public void Unregister(ICommand command)

Parameters

command ICommand