Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsObjectExcludedFromPresets(Object)

Returns true if this Object is not available in the Preset system.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
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.