This version of Unity is unsupported.

Preset.SetAsDefault

Declaration

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.