DustEngine  0.2.0
DustEngine.Action Class Referenceabstract
Inheritance diagram for DustEngine.Action:
DustEngine.DuMonoBehaviour DustEngine.ActionWithCallbacks DustEngine.FlowAction DustEngine.InstantAction DustEngine.IntervalAction DustEngine.FlowRandomAction DustEngine.ActivateAction DustEngine.CallbackAction DustEngine.DestroyAction DustEngine.FlipAction DustEngine.SpawnAction DustEngine.TransformCopyAction DustEngine.TransformRandomAction DustEngine.TransformSetAction DustEngine.UpdateHierarchyAction DustEngine.DelayAction DustEngine.IntervalWithRollbackAction

Public Types

enum class  TargetMode { Self = 0 , ParentObject = 1 , GameObject = 2 }
 

Public Member Functions

void Play ()
 
void Play (Action previousAction)
 
void Stop ()
 
void StopAllActionsAndPlay ()
 
void StopAllActions ()
 

Static Public Member Functions

static void StopAllActions (GameObject target)
 
- Static Public Member Functions inherited from DustEngine.DuMonoBehaviour
static void print_war (object message)
 
static void print_err (object message)
 

Protected Member Functions

bool IsAllowUpdateProperty ()
 
virtual void ActionInnerStart (Action previousAction)
 
abstract void ActionInnerUpdate (float deltaTime)
 
virtual void ActionInnerStop (bool isTerminated)
 
virtual void OnActionStart ()
 
abstract void OnActionUpdate (float deltaTime)
 
virtual void OnActionStop (bool isTerminated)
 

Protected Attributes

bool m_AutoStart = false
 
TargetMode m_TargetMode = TargetMode.Self
 
GameObject m_TargetObject = null
 
bool m_IsPlaying
 

Properties

bool autoStart [get, set]
 
TargetMode targetMode [get, set]
 
GameObject targetObject [get, set]
 
GameObject activeTargetObject [get]
 
Transform activeTargetTransform [get]
 
bool isPlaying [get]
 

Additional Inherited Members

- Static Protected Member Functions inherited from DustEngine.DuMonoBehaviour
static bool UpdatePropertyValue (ref bool originValue, bool newValue)
 
static bool UpdatePropertyValue (ref int originValue, int newValue)
 
static bool UpdatePropertyValue (ref float originValue, float newValue)
 
static bool UpdatePropertyValue (ref Color originValue, Color newValue)
 
static bool UpdatePropertyValue (ref Vector3 originValue, Vector3 newValue)
 
static bool UpdatePropertyValue (ref Vector3Int originValue, Vector3Int newValue)
 
static bool UpdatePropertyValue (ref GameObject originValue, GameObject newValue)
 

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