mirror of
				https://github.com/maxartz15/Validator.git
				synced 2025-10-31 20:15:50 +01:00 
			
		
		
		
	Update README.md
This commit is contained in:
		| @@ -16,10 +16,10 @@ public class MyBehaviour : MonoBehaviour, IValidatable | ||||
| #if UNITY_EDITOR | ||||
|     public void Validate(Report report) | ||||
| 	{ | ||||
|         // Check if health is valid. | ||||
|         	// Check if health is valid. | ||||
| 		if(startHealth <= 0) | ||||
| 		{ | ||||
|             // If not, log it. | ||||
|             		// If not, log it. | ||||
| 			report.Log(this, WarningType.Warning, ReportCategories.Design, $"{nameof(startHealth)} is to low", $"Make value > 0"); | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user