Publisher | Ninjapretzel |
---|---|
File size | 1.67MB |
Number of files | 17 |
Latest version | 1 |
Latest release date | 2017-06-30 08:14:22 |
First release date | 2017-06-30 08:14:22 |
Supported Unity versions | 2018.4.2 or higher |
Animated Demo
Interactive Demo
Contains a shader that can be used to easily create/animate bars for displaying various stats to players. Can be colored and styled with a 3 overlay images, 2 may be animated. Works well both for flat 3d meshes with 'unit' UV coordinates, and for turning UGUI images into an easy-to-manage display. Segments of the bar can be colored differently, such as the 'filled' or 'empty' segments, and a part of the bar can be colored differently while 'emptying' or 'filling'. Can also display an effect on the edge between two regions. To style something as a bar, just create a new material, select the "Bars/Fancy" shader, and apply the material! To set/animate the bar, change the "_Fill" and "_Delta" properties on the material from a script. An example is provided to show how the bars can be animated. Much easier than fussing with RectTransforms!
Interactive Demo
Contains a shader that can be used to easily create/animate bars for displaying various stats to players. Can be colored and styled with a 3 overlay images, 2 may be animated. Works well both for flat 3d meshes with 'unit' UV coordinates, and for turning UGUI images into an easy-to-manage display. Segments of the bar can be colored differently, such as the 'filled' or 'empty' segments, and a part of the bar can be colored differently while 'emptying' or 'filling'. Can also display an effect on the edge between two regions. To style something as a bar, just create a new material, select the "Bars/Fancy" shader, and apply the material! To set/animate the bar, change the "_Fill" and "_Delta" properties on the material from a script. An example is provided to show how the bars can be animated. Much easier than fussing with RectTransforms!