ButtonGroupStyles Struct

Summary

[Editor-Only] UnityEngine.GUIStyles for a group of connected buttons.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type["ButtonGroupStyles"] class Type type-node

Syntax

public struct ButtonGroupStyles : ValueType

Constructors

Name Summary
ButtonGroupStyles(GUIStyle, GUIStyle, GUIStyle) Creates a new Animancer.Editor.ButtonGroupStyles.

Fields

Name Constant Value Summary
left
The style for the button on the far left.
middle
The style for any buttons in the middle.
right
The style for the button on the far right.

Properties

Name Value Summary
Button ButtonGroupStyles
The default styles for a button.
static
MiniButton ButtonGroupStyles
The default styles for a mini button.
static

Methods

Name Value Summary
CopyMissingStyles(ButtonGroupStyles) void
Copies any null values from another group.
MiniToRegularButtonStyle(GUIStyle) GUIStyle
Creates a copy of the `style` with the size of a regular button.
static