interface MAGES::Interaction::IReticleProvider

Overview

Interface for objects that can provide a reticle. More…

interface IReticleProvider
{
    // methods

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

// direct descendants

class Grabbable;

Detailed Documentation

Interface for objects that can provide a reticle.

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.