Version: 2018.2
public static bool DrawPresetButton (Rect rectangle, Object[] targets);

Parameters

rectangleThe Rect where the PresetSelector icon is drawn.
targetsList of objects to which the selected Preset is applied.

Description

Draw a Preset button that opens the default PresetSelector using the targets array.