Version: 2023.1
언어: 한국어
public bool IsValid ();

반환

bool Returns true if the PresetType is valid. Returns false otherwise.

설명

Checks whether a PresetType corresponds with a valid native or managed class.

A PresetType is invalid when a MonoScript has been removed from the project, or the file containing a MonoBehaviour has been renamed and no longer matches the class name, or the type is explicitely excluded using ExcludeFromPresetAttribute.