ドキュメント

Unity Engine

Unity Engine

SetAsDefault(Preset)

Sets the Preset as the default for its target type in the project.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

注意
Deprecated. Use SetDefaultPresetsForType instead.
public static bool SetAsDefault(Preset preset)

Parameters

preset

The Preset asset to set as the default.

Returns

Type

Description

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