PooledObjectDefinitionTrigger
A class in Root.Township, the global namespace.
Client: shows a pooled effect on this object while it is enabled. Does nothing on a headless server.
- Listed in Global namespace: P
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
PooledObjectDefinitionTrigger() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private PooledObject activeEffect | The effect currently shown. |
private PooledObjectDefinition definition | The pooled effect to show. |
private bool hasBeenDestroyed | Set in OnDestroy. |