Class PerformanceMonitor
The singleton class responsible for managing and controlling the display of performance monitor windows.
Inheritance
System.Object
PerformanceMonitor
Namespace: GUPS.EasyPerformanceMonitor
Assembly: cs.temp.dll.dll
Syntax
public class PerformanceMonitor : PersistentSingleton<PerformanceMonitor>
Remarks
The PerformanceMonitor class ensures that only one instance of the performance monitor exists, and it provides functionality to show or hide monitor windows. It also supports configuration options to control its behavior, such as restricting activation to editor or development builds, and specifying whether to show the monitor windows on startup.
Methods
Awake()
Setup the singleton and add the needed performance components (if they are supported for the current platform).
Declaration
protected override void Awake()
GetMonitorWindows()
Get all monitor windows in the children.
Declaration
public List<MonitorWindow> GetMonitorWindows()
Returns
Type | Description |
---|---|
List<MonitorWindow> | A list of monitor windows. |