class MAGES::SceneGraph::RemoveActionData¶
Overview¶
Class that contains the data for the Remove action. More…
class RemoveActionData: public MAGES::BaseActionData { public: // enums enum LockAxis; // classes class Factory; // fields ActionGameObject removeObject; LockAxis axisToLock = LockAxis.None; float releaseDistance = 0.2f; bool peformOnObjectRelease = true; // properties GameObject RemoveObjectSpawned; GameObject RemoveObject; float ReleaseDistance; bool PeformOnObjectRelease; ActionGameObject ActionRemoveObject; override GameObject[] ActionGameObjects; };
Inherited Members¶
public:
// enums
enum ActionType;
enum ObjectParentType;
// fields
string actionName;
List attachedScripts = new List();
StepContainer steps = new StepContainer();
EffectDataCollection effects = new EffectDataCollection();
bool isReplicated = true;
string actionDescription;
// properties
List<BaseActionData> NextActions;
List<BaseActionData> PrevActions;
List AttachedScripts;
Action PathEnd;
string ID;
string ActionName;
bool AdvancedMode;
Vector2 NodePosition;
ActionState State;
StepContainer Steps;
EffectDataCollection Effects;
string ActionDescription;
GameObject[] ActionGameObjects;
bool IsStartAction;
bool IsReplicated;
ActionType Type;
bool IsAudible;
// methods
override bool Equals(object other);
override int GetHashCode();
virtual List<BaseActionData> GetLinkedActions();
virtual List<BaseActionData> GetIncomingActions();
virtual void RemapActions(Dictionary<BaseActionData, BaseActionData> map);
Detailed Documentation¶
Class that contains the data for the Remove action.
Fields¶
ActionGameObject removeObject
The object to be removed.
Properties¶
GameObject RemoveObjectSpawned
Gets the instantiated remove object.
GameObject RemoveObject
Gets or sets the remove object.
float ReleaseDistance
Gets or sets the remove distance.
bool PeformOnObjectRelease
Gets or sets a value indicating whether the action performs.
ActionGameObject ActionRemoveObject
Gets or sets remove action object.