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

Main action container. More...

Inheritance diagram for ActionDirector.ActionContainer:

Public Types

enum  Type : int { sequence = 0, fork = 1 }
 

Public Member Functions

override void Run ()
 
override void Step (float delta)
 
override void Stop ()
 

Public Attributes

Type type = Type.sequence
 
bool startOnEnable = false
 
bool repeat = false
 
bool repeatForever = true
 
int repeatCount = 1
 
List< Action > actions = new List<Action>()
 
Transform innerActionsTransform = null
 
List< bool > foldouts = new List<bool>()
 
bool foldout = true
 
int addActionIndex = 0
 

Detailed Description

Main action container.

This action is a container of actions. It's a helper component to manage visually all your actions in it. The list of actions can be run in a sequence or simultaneously(fork). It can also be repeated.

Member Data Documentation

List<Action> ActionDirector.ActionContainer.actions = new List<Action>()

List of all the actions in the container. This shouldn't be modified programatically, it's used internally by the Editor class

int ActionDirector.ActionContainer.addActionIndex = 0

This is used by the editor to know what index it is for the add action dropdown

bool ActionDirector.ActionContainer.foldout = true

This is used by the editor to know if its foldout or not

List<bool> ActionDirector.ActionContainer.foldouts = new List<bool>()

This is used by the editor to know if actions foldout or not

Transform ActionDirector.ActionContainer.innerActionsTransform = null

This is used by the Editor to store all inner actions

bool ActionDirector.ActionContainer.repeat = false

Should we repeat all actions of the container when they have all run?

int ActionDirector.ActionContainer.repeatCount = 1

How many times should we repeat all the actions of the container?

bool ActionDirector.ActionContainer.repeatForever = true

Should we repeat all actions of the container forever?

bool ActionDirector.ActionContainer.startOnEnable = false

Run the action immediately when GameObject is enabled?

Type ActionDirector.ActionContainer.type = Type.sequence

Sequence will run all action one after the other and fork will launch them all simultaneously


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