Validate
Returns true if the detail prototype is valid and the Terrain can accept it.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
Validate()
Returns true if the detail prototype is valid and the Terrain can accept it.
public bool Validate()
Returns
Type | Description |
|---|---|
| bool |
Validate(string)
Returns true if the detail prototype is valid and the Terrain can accept it.
public bool Validate(out string errorMessage)
Parameters
Returns a message that indicates the cause of failed validation.
Returns
Type | Description |
|---|---|
| bool |