4.6 – Slide Panel

Slide panel is a container of containers. You can add many panels and allow users to switch between them by sliding their fingers on the screen. Slide panel is a specialized container for touch devices. To add new panels to slide panel just duplicate one of the default ones and delete the newly created panel’s variable name.

On Panel Change
On Panel Change property is an Action List which triggered when the active panel changed.

Padding
Padding property is used to restrict the usable area of the slide panel. Left and Right of the Padding property is useless.

Items Margin
Items Margin property is used to determine the spacing between child panels.

Use Separators
Use Separators property is used to determine whether separators will be drawn or not.

Control Panel Height
Control Panel Height property is used to determine the height of control panel(gray dots by default). Changing the value of Control Panel Height also changes the distance between the dots accordingly. Control panel can be disabled by setting Control Panel Height value to zero.

Control Panel Position
Control Panel Position determines the position of control panel. There are two options, Up and Down.

Active Panel
Active Panel property determines the initial active panel of the slide panel. Also you can use Active Panel property to select the panel to edit in edit mode.

Separator Style
Separator Style property is a GUIStyle and is used to fine tune the visual appearance of the separator bar.

Selected Style
Selected Style property is a GUIStyle and is used to fine tune the visual appearance of the active dot at the control panel.

Non Selected Style
Non Selected Style property is a GUIStyle and is used to fine tune the visual appearance of the passive dots at the control panel.