Class SimulationProfilerBase
Inheritance
SimulationProfilerBase
Syntax
[DefaultExecutionOrder(-1)]
public abstract class SimulationProfilerBase : MonoBehaviour
Fields
globalDispatcherOverride
Set the global dispatched for all the collectors. Default option will abide to all the collectors dispatchers.
Declaration
public bool globalDispatcherOverride
Field Value
globalDispatchers
Declaration
[SerializeReference]
[HideInInspector]
public List<IGlobalProfilerDataDispatcher> globalDispatchers
Field Value
Properties
activeCollectors
Declaration
public IEnumerable<CollectorBase> activeCollectors { get; }
Property Value
collectors
Declaration
public ReadOnlyCollection<CollectorBase> collectors { get; }
Property Value
Properties
Declaration
public abstract ProfilerProperties Properties { get; }
Property Value
Methods
AddCollector(CollectorBase)
Append a Collector to the end of the randomizer list
Declaration
public void AddCollector(CollectorBase newCollector)
Parameters
ApplySimulationConstantsProperties()
Declaration
public abstract void ApplySimulationConstantsProperties()
CreateCollector(Type)
Called by the "Add Collector" button in the scenario Inspector
Declaration
public CollectorBase CreateCollector(Type collectorType)
Parameters
Type |
Name |
Description |
Type |
collectorType |
The type of collector to create
|
Returns
Exceptions
InsertCollector(Int32, CollectorBase)
Insert a collector at a given index within the randomizer list
Declaration
public void InsertCollector(int index, CollectorBase newCollector)
Parameters
Type |
Name |
Description |
Int32 |
index |
The index to place the randomizer
|
CollectorBase |
newCollector |
The collector to add to the list
|
Exceptions
RemoveCollector(Int32)
Remove collector at index.
Declaration
public void RemoveCollector(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|