public InputControlPickerDropdown(AdvancedDropdownState state, Action <string> onPickCallback, Mode mode = Mode.PickControl) : base(state) { m_Gui = new InputControlPickerGUI(); minimumSize = new Vector2(350, 250); maximumSize = new Vector2(0, 300); m_OnPickCallback = onPickCallback; m_Mode = mode; }
public InputControlPickerDropdown(AdvancedDropdownState state, SerializedProperty pathProperty, Action <SerializedProperty> onPickCallback) : base(state) { m_Gui = new InputControlPickerGUI(); minimumSize = new Vector2(350, 250); maximumSize = new Vector2(0, 300); m_PathProperty = pathProperty; m_OnPickCallback = onPickCallback; }
public InputControlPickerDropdown( InputControlPickerState state, Action <string> onPickCallback, InputControlPicker.Mode mode = InputControlPicker.Mode.PickControl) : base(state.advancedDropdownState) { m_Gui = new InputControlPickerGUI(this); minimumSize = new Vector2(275, 300); maximumSize = new Vector2(0, 300); m_OnPickCallback = onPickCallback; m_Mode = mode; }