using System; using UnityEngine; using UnityEngine.Scripting.APIUpdating; namespace UnityEngine.U2D.IK { /// /// Attribute to add a menu item in IKManager2D to create the Solver. /// [MovedFrom("UnityEngine.Experimental.U2D.IK")] [AttributeUsage(AttributeTargets.Class)] public sealed class Solver2DMenuAttribute : Attribute { string m_MenuPath; /// /// Menu path. /// public string menuPath => m_MenuPath; /// /// Constructor /// /// Menu item path. public Solver2DMenuAttribute(string _menuPath) { m_MenuPath = _menuPath; } } }