private void Awake() { Instance = this; VRIInteractables.Initialize(); ColliderToHandMapping = new Dictionary <Collider, VRIHand>(); }
public static void Deregister(VRIInteractable interactable) { VRIPlayer.DeregisterInteractable(interactable); ColliderMapping = ColliderMapping.Where(mapping => mapping.Value != interactable).ToDictionary(mapping => mapping.Key, mapping => mapping.Value); VRIInteractableMapping.Remove(interactable); }
private void Awake() { Instance = this; VRIInteractables.Initialize(); ColliderToHandMapping = new Dictionary<Collider, VRIHand>(); }