UnityProfilerSessionQuickAccessAction
A class in Root.Township, the global namespace.
Quick access menu action that records a 600-frame profiler sample and tells the player when it starts and finishes. Only shown to devs or in debug builds.
- Listed in Global namespace: T to X
- Inherits or implements
QuickAccessMenuAction - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
UnityProfilerSessionQuickAccessAction() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
3 private and internal fields
Properties
Methods
| Member | What it is |
|---|---|
override void Run(Controller controller) | Starts a profiler sample named with a running number and shows a message to the player. |