C# Class RandomIntervalFlappyBounce, SlashRunner

Causes the object to play it's animation and 'bounce' vertically at random time intervals.
Inheritance: MonoBehaviour
Show file Open project: matthewAURA/SlashRunner

Public Properties

Property Type Description
lowerLimit double
upperLimit double

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
RefreshCooldown ( ) : void

Refreshes the cooldown, setting it to some random value dictated by the upper and lower bounds.

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

lowerLimit public property

Dictates the random cooldown of the bounce effect in seconds
public double lowerLimit
return double

upperLimit public property

public double upperLimit
return double