Documentation

Unity Engine

Unity Engine

GetDefaultForObject(Object)

Returns the current default Preset assigned to the same Object type. Returns null if there is no matching default.
Read time 1 minuteLast updated a month ago

Definition

Warning
Deprecated. Use GetDefaultPresetsForObject to get the full ordered list of default Presets that would be applied to that Object
public static Preset GetDefaultForObject(Object target)

Parameters

target

Returns

Type

Description

Preset