C# Class RandomIntervalFlappyBounce, SlashRunner

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

Méthodes publiques

Свойство Type Description
lowerLimit double
upperLimit double

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
RefreshCooldown ( ) : void

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

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

lowerLimit public_oe property

Dictates the random cooldown of the bounce effect in seconds
public double lowerLimit
Résultat double

upperLimit public_oe property

public double upperLimit
Résultat double