// -------------------------------------------------------------------------------------------------------------------- // // Copyright (c) VRMADA, All rights reserved. // // -------------------------------------------------------------------------------------------------------------------- using UltimateXR.Core.Components; using UltimateXR.Manipulation; using UnityEngine; namespace UltimateXR.Examples.FullScene.Lab { /// /// Component that helps enumerate the potential battery anchors in a scene using LabBatteryAnchor.EnabledComponents. /// Battery placing has some additional special mechanics for the sliding-in/sliding-out behavior. This component /// helps identifying where those places are. /// public class BatteryAnchor : UxrComponent { #region Inspector Properties/Serialized Fields [SerializeField] private UxrGrabbableObjectAnchor _batteryAnchor; /// /// Actual anchor component where a battery can be placed. /// public UxrGrabbableObjectAnchor Anchor => _batteryAnchor; #endregion } }