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

InteractableGroup Class

Extends MonoBehaviour
This class implements higher level logic to share the number of max interactors acting on this group of IInteractables;

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.InteractableGroup._started

Properties

Data : object
[Get]
An optional object that exposes the underlying serialized data field.
Signature
object Oculus.Interaction.InteractableGroup.Data

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.InteractableGroup.Awake()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.InteractableGroup.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.InteractableGroup.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.InteractableGroup.Start()
Returns
void

Methods

InjectAllInteractableGroup ( interactables )
Injects all required dependencies for a dynamically instantiated InteractableGroup.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.InteractableGroup.InjectAllInteractableGroup(List< IInteractable > interactables)
Parameters
interactables: List< IInteractable >
Returns
void
InjectInteractables ( interactables )
Sets the underlying IInteractable set for a dynamically instantiated InteractableGroup.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.InteractableGroup.InjectInteractables(List< IInteractable > interactables)
Parameters
interactables: List< IInteractable >
Returns
void
InjectOptionalData ( data )
Sets the optional underlying data object for a dynamically instantiated InteractableGroup.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.InteractableGroup.InjectOptionalData(object data)
Parameters
data: object
Returns
void