![]() |
Eye of the Nile Docs
Everything you need to know to get started!
|
A simple effect applied to some fire obstacles. The object is scaled up and down between the given minimum and maximum values.
Documentation updated 1/27/2025
Public Attributes | |
float | minScale = 0.8f |
The minimum size the object will be scaled to. | |
float | maxScale = 1.2f |
The maximum size the object will be scaled to. | |
float | pulseSpeed = 2.0f |
The speed at which the object will be scaled. | |
Private Member Functions | |
void | Start () |
Starts the pulse coroutine. | |
IEnumerator | Pulse () |
Cycles between scaling the object down towards minScale, back up towards maxScale, and so on. | |
|
private |
Cycles between scaling the object down towards minScale, back up towards maxScale, and so on.
|
private |
Starts the pulse coroutine.
float FireObstacleEffect.maxScale = 1.2f |
The maximum size the object will be scaled to.
float FireObstacleEffect.minScale = 0.8f |
The minimum size the object will be scaled to.
float FireObstacleEffect.pulseSpeed = 2.0f |
The speed at which the object will be scaled.