Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
FireObstacleEffect Class Reference

Detailed Description

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

Author
Jiho Lee

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.
 

Member Function Documentation

◆ Pulse()

IEnumerator FireObstacleEffect.Pulse ( )
private

Cycles between scaling the object down towards minScale, back up towards maxScale, and so on.

◆ Start()

void FireObstacleEffect.Start ( )
private

Starts the pulse coroutine.

Member Data Documentation

◆ maxScale

float FireObstacleEffect.maxScale = 1.2f

The maximum size the object will be scaled to.

◆ minScale

float FireObstacleEffect.minScale = 0.8f

The minimum size the object will be scaled to.

◆ pulseSpeed

float FireObstacleEffect.pulseSpeed = 2.0f

The speed at which the object will be scaled.


The documentation for this class was generated from the following file: