Publisher | Neomaster |
---|---|
File size | 1.81MB |
Number of files | 81 |
Latest version | 1.4.0.3 |
Latest release date | 2022-03-28 11:37:13 |
First release date | 2022-03-28 11:37:13 |
Supported Unity versions | 2018.4.2 or higher |
Usage
- Scene selection.
- Developer or tester menu.
- Representation of tree objects with node controls.
Content
The project consists of C# scripts, other files are used for demonstration purposes.
- Scenes/TreeviewDemo.unity - demonstration scene with tree samples
- Textures/ - sprites for buttons and glyphs
- Treeview/ - C# scripts that represent tree entities and display GUI elements
- Glyphs.psd - Photoshop project template for creating glyphs in all states
- Slider.cs - shows the tree samples in TreeviewDemo.unity
- TreeviewDataExample.cs - example of a tree management algorithm
Get started
- Create an empty object.
- Add the Treeview.cs component.
- Set the font of the node.
- Set glyph font if branches and nodes will be represented as pseudographic text characters.
- Add the script that initializes and manages the tree hierarchy, such as TreeviewDataExample.cs.