Class FlowEntController
- Namespace
- FriedSynapse.FlowEnt
A singleton that is the core of the FlowEnt library. Hold the main update method and a handful of global parameters. The script automatically attaches itself to an object in the scene called FlowEnt(created by this script). Make sure not to delete this object because the library will not work without this script attached to an object in the scene.
public class FlowEntController : IUpdateController, IControllable
- Inheritance
-
FlowEntController
- Implements
- Inherited Members
- Extension Methods
Properties
HasInstance
public static bool HasInstance { get; }
Property Value
Instance
public static FlowEntController Instance { get; }
Property Value
PlayState
The current state of animations.
public PlayState PlayState { get; }
Property Value
TimeScale
The global time scale for all animations.
public float TimeScale { get; set; }
Property Value
Methods
CustomUpdate(float)
public void CustomUpdate(float deltaTime)
Parameters
deltaTime
float
Pause()
Pauses all animations.
public void Pause()
Resume()
Resumes all animations.
public void Resume()
Stop(bool)
Stops all animations.
public void Stop(bool triggerOnCompleted = false)
Parameters
triggerOnCompleted
boolIf set to true will trigger the "OnCompleted" event on all animations.