Added component validators
This commit is contained in:
parent
35f271e12b
commit
d7145ad772
30 changed files with 448 additions and 200 deletions
10
Runtime/Interfaces/IComponentValidator.cs
Normal file
10
Runtime/Interfaces/IComponentValidator.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Module.ProjectValidator
|
||||
{
|
||||
public interface IComponentValidator<in T> where T : Component
|
||||
{
|
||||
void Validate(T component, List<ValidatorResult> results);
|
||||
}
|
||||
}
|
||||
3
Runtime/Interfaces/IComponentValidator.cs.meta
Normal file
3
Runtime/Interfaces/IComponentValidator.cs.meta
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 48d9acd22b7744faa4b826f26311b5b3
|
||||
timeCreated: 1779123421
|
||||
Loading…
Add table
Add a link
Reference in a new issue