Skip to content

YaInteractiveAPI

The YaInteractiveAPI class provides a set of static APIs for managing interactive objects.

Functions

Interactor YaInteractiveAPI.Interactor(YaEntity entity)
Converts an object into an interactor if the object is qualified as an interactor.
InteractableObject YaInteractiveAPI.InteractableObject(YaEntity entity)
Converts an object into an interactable object.
boolean YaInteractiveAPI.IsInteractor(YaEntity entity)
Returns true if this object can be converted into an effective interactor.
boolean YaInteractiveAPI.IsInteractableObject(YaEntity entity)
Returns true if this object can be converted into an effective interactable object.