Summary
A simple performance test that loads and instantiates a prefab to test how long it takes.
- Assembly
- UltEvents
.dll - Namespace
- UltEvents
.Benchmarks - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["ResourceInstantiateBenchmark"]
class Type type-node
Syntax
[AddComponentMenu("")]
[UltEventsHelpUrl(typeof(ResourceInstantiateBenchmark))]
public class ResourceInstantiateBenchmark : MonoBehaviour
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| Ult |
[Assert-Conditional]
A HelpURLAttribute which points to the UltEvents documentation.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Update |
void |
Runs the test after the scene has been loaded for a minimum delay.
|