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