ドキュメント

Unity Engine

Download Unity

Unity Engine

DrawPresetButton(Rect, Object[])

Draw a Preset button that opens the default PresetSelector using the targets array.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static bool DrawPresetButton(Rect rectangle, Object[] targets)

Parameters

rectangle

The Rect where the PresetSelector icon is drawn.

targets

List of objects to which the selected Preset is applied.

Returns

Type

Description

boolTrue if the button is drawn for the target object. Otherwise, false.