using System; namespace FlaxEngine; /// /// This attribute is used to check for if a script requires another script type. /// [Serializable] [AttributeUsage(AttributeTargets.Class)] public class RequireScriptAttribute : Attribute { /// /// The required type. /// public Type RequiredType; /// /// Initializes a new instance of the class. /// /// The required type. public RequireScriptAttribute(Type type) { RequiredType = type; } }