DissipateToolBasedEffect
A class in Root.Township, the global namespace.
Tool-based effect that fades its material's _Progress from 1 to 0 over a set time, then cleans up and returns to the pool.
- Listed in Global namespace: C to D
- Inherits or implements
ToolBasedEffectBase
Constructors
| Member | What it is |
|---|---|
DissipateToolBasedEffect() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
Methods
| Member | What it is |
|---|---|
protected override IEnumerator Animate(bool isIn) (iterator) | Fades the progress down over animationDuration, then releases. The direction argument is ignored. |