EnableBenchmark Class

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
EnableBenchmark
MonoBehaviour

Syntax

[AddComponentMenu("")]
[UltEventsHelpUrl(typeof(EnableBenchmark))]
public abstract class EnableBenchmark : MonoBehaviour

Attributes

Type Description
AddComponentMenu
UltEventsHelpUrlAttribute [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.