- Validator: Added asset validators with material texture and shader validation
- 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
This commit is contained in:
parent
01ac17a078
commit
dd55a87740
30 changed files with 716 additions and 38 deletions
12
Editor/Validators/Attributes/AttributeValidatorObsolete.cs
Normal file
12
Editor/Validators/Attributes/AttributeValidatorObsolete.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue