namespace VRTK.Prefabs.Interactions.Interactables.Grab.Provider
{
using UnityEngine;
using System.Collections.Generic;
using Malimbe.XmlDocumentationAttribute;
using Malimbe.PropertySerializationAttribute;
using Zinnia.Data.Attribute;
using Zinnia.Data.Collection.List;
using VRTK.Prefabs.Interactions.Interactors;
///
/// Processes a received grab event into an Observable Set to handle a simplified grab process.
///
public class GrabInteractableListInteractorProvider : GrabInteractableInteractorProvider
{
#region List Settings
///
/// The set to get the current interactors from.
///
[Serialized]
[field: Header("List Settings"), DocumentedByXml, Restricted]
public GameObjectObservableList EventList { get; protected set; }
#endregion
///
public override IReadOnlyList GrabbingInteractors => GetGrabbingInteractors(EventList.NonSubscribableElements);
}
}