FCV Engine 0.1
A tool and framework for tutorials in game development
Loading...
Searching...
No Matches
CustomAnimator Class Reference

Custom animation component to base an animation on a percentile. More...

Inheritance diagram for CustomAnimator:

Public Member Functions

void PercentileAnimation (float percentile)
 Changes the sprite of SpriteRenderer depending on a percentile.
 

Detailed Description

Custom animation component to base an animation on a percentile.

Definition at line 10 of file CustomAnimator.cs.

Member Function Documentation

◆ PercentileAnimation()

void PercentileAnimation ( float percentile)

Changes the sprite of SpriteRenderer depending on a percentile.

Parameters
percentilea value from 0 to 1

Definition at line 25 of file CustomAnimator.cs.


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