namespace Tilia.Interactions.Interactables.Interactables.Grab.Provider { using System.Collections.Generic; using Tilia.Interactions.Interactables.Interactors; using UnityEngine; using Zinnia.Data.Attribute; using Zinnia.Data.Collection.List; /// /// Processes a received grab event into an Observable Set to handle a simplified grab process. /// public class GrabInteractableListInteractorProvider : GrabInteractableInteractorProvider { #region List Settings [Header("List Settings")] [Tooltip("The set to get the current interactors from.")] [SerializeField] [Restricted] private GameObjectObservableList eventList; /// /// The set to get the current interactors from. /// public GameObjectObservableList EventList { get { return eventList; } set { eventList = value; } } #endregion /// public override IReadOnlyList GrabbingInteractors => GetGrabbingInteractors(EventList.NonSubscribableElements); } }