1
0
mirror of https://github.com/maxartz15/Validator.git synced 2024-11-21 19:55:34 +01:00

Changed MenuName of attribute validators

This commit is contained in:
max 2022-05-07 02:02:33 +02:00
parent 8399d043f5
commit 15808ce035

View File

@ -8,7 +8,7 @@ namespace Validator.Editor
{ {
public class RequiredAttributeAssetValidator : IValidator public class RequiredAttributeAssetValidator : IValidator
{ {
public string MenuName => "Attributes/RequiredAttributeAssetValidator"; public string MenuName => nameof(RequiredAttributeAssetValidator);
private const BindingFlags flags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance; private const BindingFlags flags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance;
@ -44,7 +44,7 @@ namespace Validator.Editor
public class RequiredAttributeSceneValidator : IValidator public class RequiredAttributeSceneValidator : IValidator
{ {
public string MenuName => "Attributes/RequiredAttributeSceneValidator"; public string MenuName => nameof(RequiredAttributeSceneValidator);
private const BindingFlags flags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance; private const BindingFlags flags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance;