ActionDirector  1.0.0
The action director's cut for rapid actions integration
ActionDirector.ActionBarNumberBy Class Reference

Update a progress bar image. More...

Inheritance diagram for ActionDirector.ActionBarNumberBy:
ActionDirector.ActionDuration

Public Member Functions

override void Run ()
 
override void StaticStep (float delta)
 
- Public Member Functions inherited from ActionDirector.ActionDuration
override void Step (float delta)
 
override void Run ()
 

Public Attributes

int startValue
 
int addValue
 
ActionLabelNumberBy.RangeIntValue range
 
Image bar
 
- Public Attributes inherited from ActionDirector.ActionDuration
float duration = 0.0f
 
Ease ease = new Ease()
 

Detailed Description

Update a progress bar image.

This action will update a UI image filling that represent the value to add. (Ex: progress bar, Life bar, Experience bar) You must set the range the bar support, the value the bar has before the action starts and the value to add until the action is over. IMPORTANT NOTE: The UI Image bar MUST be of type Filled

Member Data Documentation

int ActionDirector.ActionBarNumberBy.addValue

The quantity that should be added at the end of the action

Image ActionDirector.ActionBarNumberBy.bar

The image that represent the bar, it must be an image of type Filled

ActionLabelNumberBy.RangeIntValue ActionDirector.ActionBarNumberBy.range

The range of the bar

int ActionDirector.ActionBarNumberBy.startValue

The value before the action run, must be equal or higher than the min range value


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