protected virtual void CheckCurrentValidSnapObjectStillValid() { for (int i = 0; i < currentValidSnapInteractableObjects.Count; i++) { VRTK_InteractableObject interactableObjectCheck = currentValidSnapInteractableObjects[i]; //if the interactable object associated with it has been snapped to another zone, then unset the current valid snap object if (interactableObjectCheck != null && interactableObjectCheck.GetStoredSnapDropZone() != null && interactableObjectCheck.GetStoredSnapDropZone() != this) { RemoveCurrentValidSnapObject(interactableObjectCheck); if (isHighlighted && highlightObject != null && !highlightAlwaysActive) { SetHighlightObjectActive(false); } } } }
// Token: 0x06001208 RID: 4616 RVA: 0x00067DD0 File Offset: 0x00065FD0 protected virtual void CheckCurrentValidSnapObjectStillValid() { for (int i = 0; i < this.currentValidSnapObjects.Count; i++) { if (this.currentValidSnapObjects[i] != null) { VRTK_InteractableObject componentInParent = this.currentValidSnapObjects[i].GetComponentInParent <VRTK_InteractableObject>(); if (componentInParent != null && componentInParent.GetStoredSnapDropZone() != null && componentInParent.GetStoredSnapDropZone() != base.gameObject) { this.RemoveCurrentValidSnapObject(this.currentValidSnapObjects[i]); if (this.isHighlighted && this.highlightObject != null && !this.highlightAlwaysActive) { this.highlightObject.SetActive(false); } } } } }