27 lines
745 B
C#
27 lines
745 B
C#
using System;
|
|
|
|
namespace FlaxEngine
|
|
{
|
|
/// <summary>
|
|
/// This attribute is used to show actors that can be created in the actor tab of the toolbox.
|
|
/// </summary>
|
|
[Serializable]
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public class ActorToolboxAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// The path to be used in the tool box
|
|
/// </summary>
|
|
public string Group;
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ActorToolboxAttribute"/> class.
|
|
/// </summary>
|
|
/// <param name="group">The group to use to create the tab</param>
|
|
public ActorToolboxAttribute(string group)
|
|
{
|
|
Group = group;
|
|
}
|
|
}
|
|
}
|