This version of Unity is unsupported.
Method group is Obsolete

Preset.GetDefaultForPreset

Obsolete Use GetDefaultPresetsForType to get the full list of default Presets for a given PresetType.

Declaration

public static Presets.Preset GetDefaultForPreset(Presets.Preset preset);

Description

Returns the current default Preset assigned to the same Preset type. Returns null if there is no matching default.