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

A component that can be added to any object to give it a floating animation in game. More...

Inheritance diagram for FloatAnimation:

Public Member Functions

void StopAnimation ()
 Stops the floating animation.
 

Private Member Functions

void Start ()
 Starts coroutine for the float animation logic.
 
IEnumerator FloatAnimationLogic ()
 Makes the item float up and down using a easing curve and coroutine.
 

Detailed Description

A component that can be added to any object to give it a floating animation in game.

Definition at line 9 of file FloatAnimation.cs.

Member Function Documentation

◆ FloatAnimationLogic()

IEnumerator FloatAnimationLogic ( )
private

Makes the item float up and down using a easing curve and coroutine.

Returns

Definition at line 36 of file FloatAnimation.cs.


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