Version: 2020.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.