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.Stack;
using VRTK.Prefabs.Interactions.Interactors;
///
/// Processes a received grab event into an Observable Stack to handle multiple output options for each grab type.
///
public class GrabInteractableStackInteractorProvider : GrabInteractableInteractorProvider
{
#region Stack Settings
///
/// The stack to get the current interactors from.
///
[Serialized]
[field: Header("Stack Settings"), DocumentedByXml, Restricted]
public GameObjectObservableStack EventStack { get; protected set; }
#endregion
///
public override IReadOnlyList GrabbingInteractors => GetGrabbingInteractors(EventStack.Stack);
}
}