Preset.SetAsDefault

public static bool SetAsDefault(Presets.Preset preset);

Parameters

presetThe 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.