diff --git a/README.md b/README.md index 7ab38a3..49c2c51 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ A tool to help validate data across scenes, prefabs and scriptable objects. ## Component Validators -``` +```c# public sealed class ComponentValidatorMeshCollider : IComponentValidator { public void Validate(MeshCollider component, List results) @@ -25,7 +25,7 @@ public sealed class ComponentValidatorMeshCollider : IComponentValidator`, where `T` is the attribute and will automatically be found by the validator. -``` +```c# public sealed class Validator : IAttributeValidator { public ValidatorResult Validate(RequiredAttribute attribute, object value)