Validate
Returns true if the detail prototype is valid and the Terrain can accept it.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
Validate()
Returns if the detail prototype is valid and the Terrain can accept it.
truepublic bool Validate()
Returns
Type | Description |
|---|---|
| bool |
Validate(string)
Returns if the detail prototype is valid and the Terrain can accept it.
truepublic bool Validate(out string errorMessage)
Parameters
Returns a message that indicates the cause of failed validation.
Returns
Type | Description |
|---|---|
| bool |