Interface IDiagnosticsWatcher
- Namespace
- Framework.Systems.Diagnostics
- Assembly
- Assembly-CSharp.dll
Diagnostics Watcher 계약. 기본 제공 Watcher 및 사용자 정의 Watcher 모두 이 인터페이스를 구현한다.
public interface IDiagnosticsWatcher
Remarks
RegisterWatcher(IDiagnosticsWatcher) 를 통해 DiagnosticsService 에 등록. Overlay Custom 섹션에 Name / GetStatus() 가 자동 표시된다.
Properties
Enabled
Watcher 활성 여부.
bool Enabled { get; }
Property Value
- bool
Name
Watcher 표시 이름.
string Name { get; }
Property Value
- string
Methods
GetStatus()
현재 상태 한 줄 요약. Overlay Custom 섹션에 표시. 예: "Last Frame : 52ms / Spike Count : 4"
string GetStatus()
Returns
- string