ColliderGroup.cs 474 B

12345678910111213141516171819
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3. namespace Rokid.UXR.Interaction {
  4. public class ColliderGroup
  5. {
  6. private Collider _boundsCollider;
  7. private List<Collider> _colliders;
  8. public Collider Bounds => _boundsCollider;
  9. public List<Collider> Colliders => _colliders;
  10. public ColliderGroup(List<Collider> colliders, Collider boundsCollider)
  11. {
  12. _colliders = colliders;
  13. _boundsCollider = boundsCollider;
  14. }
  15. }
  16. }