using UnityEngine; /// /// Attribute that require implementation of the provided interface. /// namespace NEG.Utils { public class RequireInterfaceAttribute : PropertyAttribute { // Interface type. public System.Type requiredType { get; private set; } /// /// Requiring implementation of the interface. /// /// Interface type. public RequireInterfaceAttribute(System.Type type) { this.requiredType = type; } } }