UIElements Expansions: Tabs / Accordion

$9
Publisher mathru.net
File size 6.30MB
Number of files 122
Latest version 1.0.5
Latest release date 2020-06-11 08:42:41
First release date 2020-03-17 11:51:13
Supported Unity versions 2018.4.2 or higher
Unity UIElements Expansions is an asset series that extends Unity's UIElements.
This asset primarily adds the following features to the UnityEditor:

1. Tabs Component
You can install tab components that you often see on websites and apps.
In combination with templates and routing paths (UIElements Expansions: Router must be deployed),
you can switch between tabs.
You can use TabGroup tags to enclose Tab tags, as shown below. By doing this, Tabs under TabGroup are grouped,
and when a tab is clicked and activated, other tabs become inactive automatically.

<engine:TabGroup>
  <engine:Tab text="Tab 1" path="Template or Routing path" />
  <engine:Tab text="Tab 2" path="Template or Routing path" />
</engine:TabGroup>

2. Accordion Component
You can install the accordion components that you often see in tutorials and descriptions on websites.
To use it, surround the Accordion tag with the AccordionGroup tag:
This way the Accordion under the Accordion Group is grouped
and automatically deactivates the other tabs when the Accordion is activated.
An accordion control can be a BindableButton, for example.
Activate the accordion when the button is clicked by specifying show in the control attribute
and the name of the accordion you want to activate in the target attribute.
An Accordion tag can contain UXML tags directly beneath it.
You can also use template to make use of external UXML.

<engine:AccordionGroup>
  <editor:BindableButton text="Show Accordion 1" control="show" target="acc1" />
  <engine:Accordion name="acc1">
    Accordion Contents
  </engine:Accordion>
  <editor:BindableButton text="Show Accordion 2" control="show" target="acc2" />
  <engine:Accordion name="acc2">
    Accordion Contents
  </engine:Accordion>
</engine:AccordionGroup>

3. UIElements Expansions Common Features
In addition to the above, common useful tags and functions are provided.
Please see the following page for details.
https://mathru.net/dev/2bc0412083e5456c863ae98119cf80b1


Unity Asset Store legal and license information:
http://unity3d.com/legal/

Installation and Usage
https://mathru.net/dev/2960f963603542ddbe1d2bfd776fba7a

Top Publisher Assets