Documentation

Unity Engine


User Manual

Script Reference

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 12 days 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