DustEngine  0.2.0
DustEngine.UpdateHierarchyAction Class Reference
Inheritance diagram for DustEngine.UpdateHierarchyAction:
DustEngine.InstantAction DustEngine.ActionWithCallbacks DustEngine.Action DustEngine.DuMonoBehaviour

Public Types

enum class  UpdateMode {
  SetTargetAsChildOfReferenceObject = 0 , SetReferenceObjectAsChildOfTarget = 1 , CopyParentFromReferenceObject = 2 , SetTargetBeforeReferenceObject = 3 ,
  SetTargetAfterReferenceObject = 4
}
 
enum class  OrderMode { First = 0 , Last = 1 }
 
- Public Types inherited from DustEngine.Action
enum class  TargetMode { Self = 0 , ParentObject = 1 , GameObject = 2 }
 

Protected Member Functions

override void OnActionUpdate (float deltaTime)
 
bool UpdateParent (GameObject newChild, GameObject newParent)
 
- Protected Member Functions inherited from DustEngine.InstantAction
override void ActionInnerUpdate (float deltaTime)
 
- Protected Member Functions inherited from DustEngine.ActionWithCallbacks
override void ActionInnerStop (bool isTerminated)
 
- Protected Member Functions inherited from DustEngine.Action
bool IsAllowUpdateProperty ()
 
virtual void ActionInnerStart (Action previousAction)
 
virtual void OnActionStart ()
 
virtual void OnActionStop (bool isTerminated)
 

Properties

UpdateMode updateMode [get, set]
 
OrderMode orderMode [get, set]
 
GameObject referenceObject [get, set]
 
- Properties inherited from DustEngine.ActionWithCallbacks
ActionCallback onCompleteCallback [get]
 
List< ActiononCompleteActions [get]
 
- Properties inherited from DustEngine.Action
bool autoStart [get, set]
 
TargetMode targetMode [get, set]
 
GameObject targetObject [get, set]
 
GameObject activeTargetObject [get]
 
Transform activeTargetTransform [get]
 
bool isPlaying [get]
 

Additional Inherited Members

- Public Member Functions inherited from DustEngine.Action
void Play ()
 
void Play (Action previousAction)
 
void Stop ()
 
void StopAllActionsAndPlay ()
 
void StopAllActions ()
 
- Static Public Member Functions inherited from DustEngine.Action
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)
 
- 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)
 
- Protected Attributes inherited from DustEngine.ActionWithCallbacks
ActionCallback m_OnCompleteCallback = null
 
List< Actionm_OnCompleteActions = null
 
- Protected Attributes inherited from DustEngine.Action
bool m_AutoStart = false
 
TargetMode m_TargetMode = TargetMode.Self
 
GameObject m_TargetObject = null
 
bool m_IsPlaying
 

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