Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

DetailPrototype.Validate

Declaration

public bool Validate();

Declaration

public bool Validate(out string errorMessage);

Parameters

errorMessage Returns a message that indicates the cause of failed validation.

Description

Returns true if the detail prototype is valid and the Terrain can accept it.