using System; namespace FlaxEngine { /// /// This attribute is used to show actors that can be created in the scene and prefab context menus. Separate the subcontext menus with a /. /// [Serializable] [AttributeUsage(AttributeTargets.Class)] public class ActorContextMenuAttribute : Attribute { /// /// The path to be used in the context menu /// public string Path; /// /// Initializes a new instance of the class. /// /// The path to use to create the context menu public ActorContextMenuAttribute(string path) { Path = path; } } }