using UnityEngine.Scripting.APIUpdating; using UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals; namespace UnityEngine.XR.Interaction.Toolkit.Interactables.Visuals { /// /// Interface for a component on a for an interactable. /// [MovedFrom("UnityEngine.XR.Interaction.Toolkit")] public interface IXRInteractableCustomReticle { /// /// Called by the after it instantiates the custom reticle and attaches it /// to the . /// /// The interactable that instantiated the custom reticle. /// The object to which the custom reticle was attached. void OnReticleAttached(XRBaseInteractable interactable, IXRCustomReticleProvider reticleProvider); /// /// Called by the interactable before it detaches the custom reticle and destroys it. /// void OnReticleDetaching(); } }