示例#1
0
 public virtual void UpdateColliders()
 {
     Colliders = this.GetComponentsInChildren <Collider>();
     NVRInteractables.Register(this, Colliders);
 }
示例#2
0
 public virtual void UpdateColliders(Collider[] newColliders)
 {
     Colliders = newColliders;
     NVRInteractables.Register(this, Colliders);
 }
示例#3
0
 protected virtual void Start()
 {
     NVRInteractables.Register(this, Colliders);
 }
示例#4
0
 public virtual void RefreshColliders()
 {
     NVRInteractables.Deregister(this);
     Colliders = this.GetComponentsInChildren <Collider>();
     NVRInteractables.Register(this, Colliders);
 }