Class SpawnerEvents
Base class for events dispatched by spawners
Namespace: Axis.Events
Assembly: cs.temp.dll.dll
Syntax
public class SpawnerEvents : GroupEvents
Fields
OnSpawnChild
Dispatched whenever the spawner spawns one of its children
Declaration
public UnityEvent<Transform> OnSpawnChild
Field Value
Type | Description |
---|---|
UnityEvent<><Transform> |
OnSpawnedObjectBroke
Dispatched whenever a spawned object by this spawner has been broken
Declaration
public UnityEvent<ObjBreakable> OnSpawnedObjectBroke
Field Value
Type | Description |
---|---|
UnityEvent<><ObjBreakable> |
OnSpawnedObjectCollected
Dispatched whenever a spawned object by this spawner has been collected
Declaration
public UnityEvent<ObjCollectable> OnSpawnedObjectCollected
Field Value
Type | Description |
---|---|
UnityEvent<><ObjCollectable> |
OnSpawnEnable
Dispatched whenever the spawner becomes active and enabled
Declaration
public UnityEvent OnSpawnEnable
Field Value
Type | Description |
---|---|
UnityEvent |
OnSpawnInNavObjectTile
Dispatched whenever the spawner has spawned in a tile occupied by another NavObject
Declaration
public UnityEvent<NavObject> OnSpawnInNavObjectTile
Field Value
Type | Description |
---|---|
UnityEvent<><NavObject> |
Properties
EventCount
Declaration
public override int EventCount { get; }
Property Value
Type | Description |
---|---|
int |