Summary
A simple performance test which calls
UltEvents.Benchmarks.EnableBenchmark.Test a specified number of times
in UltEvents.Benchmarks.EnableBenchmark.OnEnable and logs the amount of time it takes.
- Assembly
- UltEvents
.dll - Namespace
- UltEvents
.Benchmarks - Base Types
-
- MonoBehaviour
- Derived Types
graph BT
Type-->Base0["MonoBehaviour"]
Type["EnableBenchmark"]
class Type type-node
Derived0["EnableBenchmarkUnityEvent"]-->Type
click Derived0 "/ultevents/api/UltEvents.Benchmarks/EnableBenchmarkUnityEvent"
Derived1["EnableBenchmarkUltEvent"]-->Type
click Derived1 "/ultevents/api/UltEvents.Benchmarks/EnableBenchmarkUltEvent"
Syntax
[AddComponentMenu("")]
[UltEventsHelpUrl(typeof(EnableBenchmark))]
public abstract class EnableBenchmark : MonoBehaviour
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| Ult |
[Assert-Conditional]
A HelpURLAttribute which points to the UltEvents documentation.
|
Methods
| Name | Value | Summary |
|---|---|---|
| OnEnable |
void |
Executes the test and disables the
gameObject. |
| Test |
void |
Called by
UltEvents.Benchmarks.EnableBenchmark.OnEnable. |