class MAGES::SceneGraph::QuestionActionData

Overview

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

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

    class Factory;

    // properties

    GameObject QuestionSpawned;
    int QuestionState;
    string Question;
    List<QuestionActionAnswer> Answers;
    Vector3 QuestionPosition;
    Quaternion QuestionRotation;
};

Inherited Members

public:
    // enums

    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;
    GameObject[] InteractableObjects;
    GameObject[] ActionableObjects;
    bool IsStartAction;

    // methods

    override bool Equals(object other);
    override int GetHashCode();
    virtual List<BaseActionData> GetLinkedActions();
    virtual List<BaseActionData> GetIncomingActions();

Detailed Documentation

Class that contains the data for the Question action.

Properties

GameObject QuestionSpawned

Gets the spawned question object.

int QuestionState

Gets or sets a value indicating the current question state.

string Question

Gets or sets the question.

List<QuestionActionAnswer> Answers

Gets or sets the answers.

Vector3 QuestionPosition

Gets or sets the position.

Quaternion QuestionRotation

Gets or sets the rotation.