LiveDataDisplayBase
An abstract class in Root.Township, Alta.Utilities.Profiling.
Base asset for one line of the live debug data display (a title and a value). Subclasses supply the value text.
- Listed in Utilities and other Alta namespaces
- Inherits or implements
ScriptableObject - Derived types
ChunkDisplay,FpsDisplay,GraphicsLevelDisplay,LastCombatHit,NetworkBytesDisplay,NetworkMessagesDisplay,NetworkPacketsDisplay,PingDisplay,PlayerCountDisplay,ServerDiagnosticsDisplay,ServerFpsDisplay,TotalDamageDisplay
Constructors
| Member | What it is |
|---|---|
protected LiveDataDisplayBase() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
Properties
1 private and internal property
Methods
| Member | What it is |
|---|---|
virtual void InternalUpdate(LiveDataDisplayView view) | Per-update hook with the display view. Does nothing by default. |
virtual bool IsValid() | Whether the line should show. False outside the editor for editor-only lines. |
virtual void RunOnDisable() | Hook called when the display is turned off. |
virtual void RunOnEnable() | Hook called when the display is turned on. |
protected abstract string GetData() | Returns the value text. |
Used in
Members of other types that take, return or hold a LiveDataDisplayBase: