class MAGES::StubInteractionSystem

Overview

Stub class for interaction system module. More…

class StubInteractionSystem: public MAGES::InteractionSystemModule
{
public:
    // methods

    virtual override void Startup();
    virtual override void Shutdown();
};

Inherited Members

public:
    // classes

    class InteractableInfo;
    class InteractorInfo;

    // properties

    GameObject LeftHand;
    GameObject RightHand;
    GameObject Avatar;
    List<InteractableInfo> Interactables;
    List<InteractorInfo> Interactors;
    bool AutomaticPlayerRigSetup;

    // methods

    virtual abstract void Startup() = 0;
    virtual abstract void Shutdown() = 0;

    virtual bool TryAddInteractable(
        GameObject gameObject,
        string interactableType,
        out IInteractable component
    );

    virtual IInteractable GetInteractable(
        GameObject gameObject,
        string interactableType
    );

    virtual IInteractable GetOrAddInteractable(
        GameObject gameObject,
        string interactableType
    );

    virtual IInteractable AddGrabbable(GameObject gameObject);
    virtual IInteractable GetGrabbable(GameObject gameObject);
    virtual IInteractable GetOrAddGrabbable(GameObject gameObject);

    virtual bool TryAddInteractor(
        GameObject gameObject,
        string interactorType,
        out IInteractor component
    );

    virtual IInteractor GetInteractor(GameObject gameObject, string interactorType);

    virtual IInteractor GetOrAddInteractor(
        GameObject gameObject,
        string interactorType
    );

Detailed Documentation

Stub class for interaction system module.

Methods

virtual override void Startup()

Startup interaction system (stub).

virtual override void Shutdown()

Shutdown interaction system (stub).