Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DrawPresetButton(Rect, Object[])

Draw a Preset button that opens the default PresetSelector using the targets array.
Read time 1 minuteLast updated 11 days ago

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

bool