ScalePulsator
A class in Root.Township, the global namespace.
Component that pulses an object's scale up and down from its starting size. Add one at runtime with StartPulsator.
- Listed in Global namespace: S
- Inherits or implements
MonoBehaviour - Derived types
RendererScalePulsator
Constructors
| Member | What it is |
|---|---|
ScalePulsator() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
5 private and internal fields
Properties
Methods
| Member | What it is |
|---|---|
static void StartPulsator(GameObject gameobject) | Adds a ScalePulsator to the object if needed and starts it. |
void StartPulsing() | Restarts the pulse coroutine, if the component is active. |
static void StopPulsator(GameObject gameobject) | Stops the pulsator on the object, if it has one. |
void StopPulsing() | Stops the pulse and puts the starting scale back. |
2 private and internal methods
Used in
Members of other types that take, return or hold a ScalePulsator: