class MAGES::SceneGraph::TrajectoryBehavior

Overview

Take the proper object and follow the trajectory. You need to hit all the colliders to complete the behavior. Used with Animations as well. More…

class TrajectoryBehavior: public MAGES::SceneGraph::BaseBehavior
{
public:
    // properties

    UnityEvent OnTrajectoryCompleted;
    GameObject ObjectUsed;
    Animator Animator;
    string AnimatorStateName;
    string AnimatorLayerName;
    bool IsActivationRequired;
};

Inherited Members

public:
    // properties

    string ObjectID;
    BaseActionData ActionData;

Detailed Documentation

Take the proper object and follow the trajectory. You need to hit all the colliders to complete the behavior. Used with Animations as well.

Properties

UnityEvent OnTrajectoryCompleted

Gets the on triggered event.

GameObject ObjectUsed

Gets or sets the object to use on the Trajectory.

Animator Animator

Gets or sets the animator to play along with the trajectory.

string AnimatorStateName

Gets or sets the name of the state to play.

string AnimatorLayerName

Gets or sets the name of the animator layer.

bool IsActivationRequired

Gets or sets a value indicating whether the object needs to be activated.