OculusSampleFramework.InteractableRegistry Class Reference

In case someone wants to know about all interactables in a scene, this registry is the easiest way to access that information. More...

Inheritance diagram for OculusSampleFramework.InteractableRegistry:

Static Public Member Functions

static void RegisterInteractable (Interactable interactable)
 
static void UnregisterInteractable (Interactable interactable)
 

Static Public Attributes

static HashSet< Interactable_interactables = new HashSet<Interactable>()
 

Properties

static HashSet< InteractableInteractables [get]
 

Detailed Description

In case someone wants to know about all interactables in a scene, this registry is the easiest way to access that information.

Member Function Documentation

◆ RegisterInteractable()

static void OculusSampleFramework.InteractableRegistry.RegisterInteractable ( Interactable  interactable)
static

◆ UnregisterInteractable()

static void OculusSampleFramework.InteractableRegistry.UnregisterInteractable ( Interactable  interactable)
static

Member Data Documentation

◆ _interactables

HashSet<Interactable> OculusSampleFramework.InteractableRegistry._interactables = new HashSet<Interactable>()
static

Property Documentation

◆ Interactables

HashSet<Interactable> OculusSampleFramework.InteractableRegistry.Interactables
staticget

The documentation for this class was generated from the following file: