- Validator: Added option to enable/disable certain validators - Project Settings: Fixed issue, where changes weren't always saved - Unity: Removed deprecated warnings in Unity 6.4
12 lines
No EOL
349 B
C#
12 lines
No EOL
349 B
C#
using System;
|
|
|
|
namespace Module.ProjectValidator.Editor
|
|
{
|
|
internal sealed class AttributeValidatorObsolete : IAttributeValidator<ObsoleteAttribute>
|
|
{
|
|
public ValidatorResult Validate(ObsoleteAttribute attribute, object value)
|
|
{
|
|
return ValidatorResult.Create(EValidatorSeverity.Error, "Obsolete");
|
|
}
|
|
}
|
|
} |