class MAGES::Interaction::Interactors::TeleportingArea

Overview

A class representing an area in which the user can teleport. More…

class TeleportingArea:
    public MonoBehaviour,
    public MAGES::Interaction::IReticleProvider
{
public:
    // methods

    bool TryGetReticleForInteractor(IInteractor interactor, out GameObject reticle);
    void Awake();
};

Inherited Members

public:
    // methods

    bool TryGetReticleForInteractor(IInteractor interactor, out GameObject reticle);

Detailed Documentation

A class representing an area in which the user can teleport.

Methods

bool TryGetReticleForInteractor(IInteractor interactor, out GameObject reticle)

Gets the reticle.

Parameters:

interactor

The interactor to get a reticle for.

reticle

The reticle gameobject.

Returns:

Returns true if a reticle exists.