상속: UnityEngine.MonoBehaviour
예제 #1
0
        private void Awake()
        {
            Instance = this;
            VRIInteractables.Initialize();

            ColliderToHandMapping = new Dictionary <Collider, VRIHand>();
        }
예제 #2
0
        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);
        }
예제 #3
0
        private void Awake()
        {
            Instance = this;
            VRIInteractables.Initialize();

            ColliderToHandMapping = new Dictionary<Collider, VRIHand>();
        }