class MAGES::SceneGraph::UseActionData

Overview

Class that contains the data for the Use action. More…

class UseActionData: public MAGES::BaseActionData
{
public:
    // classes

    class Factory;

    // properties

    GameObject UseObjectSpawned;
    List UseCollidersSpawned;
    GameObject UseObject;
    ActionGameObject ActionUseObject;
    ActionGameObjectList ActionUseColliders;
    override GameObject[] ActionGameObjects;
    float UseTime;
    float HapticsIntensity;
};

Inherited Members

public:
    // enums

    enum ActionType;
    enum ObjectParentType;

    // 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 Use action.

Properties

GameObject UseObjectSpawned

Gets the instantiated use object.

List UseCollidersSpawned

Gets the instantiated use collider.

GameObject UseObject

Gets or sets the use object.

ActionGameObject ActionUseObject

Gets or sets the action use object.

ActionGameObjectList ActionUseColliders

Gets or sets the action use collider.

float UseTime

Gets or sets the use time.

float HapticsIntensity

Gets or sets a value indicating the haptics intensity. If set to 0, haptics are disabled.