文档

Unity Engine

Unity Engine

IsObjectExcludedFromPresets(Object)

Returns true if this Object is not available in the Preset system.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. Use PresetType.IsValid instead.
public static bool IsObjectExcludedFromPresets(Object target)

Parameters

target

Returns

Type

Description

bool

Remarks

Creating a Preset using an Object that is Excluded from Preset will reset in an invalid Preset (Preset.IsValid() == false) and will not be usable to ApplyTo or UpdateProperties with any type of Object.