private void DrawAssignButton(PropertyExtraButton button, SerializedProperty property) { if (GUI.Button(button.Position, button.Content, button.Style)) { AssignObjectReference(property); } }
private void DisplayConstantValueDropDownButton(PropertyExtraButton button, SerializedProperty constantProperty) { if (EditorGUI.DropdownButton(button.Position, button.Content, FocusType.Passive, button.Style)) { var menu = MakeConstantValueSelectMenu(constantProperty); menu.ShowAsContext(); } }