API reference
API reference
Select your platform
No SDKs available
No versions available

InteractorControllerDecorator Class

Extends MonoBehaviour
Associates one or more IInteractorViews with an IController using Context decoration patterns.
This is useful in scenarios where knowing the controller associated with an interaction is valuable, even if the interactor in question does not expose it.

Static Member Functions

Retrieves the IController, if there is one, with which an IInteractorView has been associated using Context decoration.
Parameters
interactor
The interactor which may have been associated with a controller
controller
The controller associated with the interactor
Returns
True if controller was populated with a valid associated IController, false otherwise.
Retrieves the IController associated with a specific interactor identifier through value-based context decoration
Parameters
InteractorId
The unique identifier of the interactor to query
controller
When this method returns, contains the associated IController if found; otherwise, null
Returns
True if a controller association exists for the specified ID, false otherwise
Did you find this page helpful?
Thumbs up icon
Thumbs down icon