This version of Unity is unsupported.
Method group is Obsolete

Preset.SetAsDefault

Obsolete public static bool SetAsDefault(Presets.Preset preset);

Parameters

preset The Preset asset to set as the default.

Returns

bool Returns true if the Preset is successfully set as the default, or false otherwise.

Description

Sets the Preset as the default for its target type in the project.