namespace VRTK.Prefabs.Interactions.Interactables.Grab.Action { using UnityEngine; using Malimbe.PropertySerializationAttribute; using Malimbe.XmlDocumentationAttribute; using Zinnia.Data.Attribute; using Zinnia.Tracking.Modification; /// /// Describes an action that allows the Interactable to be scaled in size between the points of two specified Interactors. /// public class GrabInteractableScaleAction : GrabInteractableAction { #region Interactable Settings /// /// The to process the scale control. /// [Serialized] [field: Header("Interactable Settings"), DocumentedByXml, Restricted] public PinchScaler PinchScaler { get; protected set; } #endregion /// protected override void OnAfterGrabSetupChange() { PinchScaler.Target = GrabSetup.Facade.ConsumerContainer; } } }