A downloadable asset pack

Buy Now$2.50 USD or more

What is it?

a system for Unity 5 for swapping between different User Interface themes. It supports the current set of Unity 5 Canvas objects and is easily modifiable to support a custom object. Colors, images, and fonts can be set as a theme.


There is one required prefab: ThemeController. Each Canvas Component has a script. For example, Text has a script called ThemeText. When you change the theme through ThemeController all Canvas objects with their corresponding scripts attached will be updated.

Theme colors and fonts are defined in an array in ThemeController. These are set in the Unity editor's inspector.

Why would you want to do this?

1) If you want users of a Unity game or app to be able to choose between themes to personalize the look.

2) If you want a system for controlling the look of the UI depending on where or when a player is in your game.


Import to unity using: Assets > Import Package > Custom Package and browse to wherever you saved it.

Published Nov 17, 2016
StatusReleased
CategoryAssets
AuthorTartle Games
Tagsasset, sourcecode, unity3d, user-interface
Average sessionA few seconds
LanguagesEnglish

Purchase

Buy Now$2.50 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $2.50 USD. You will get access to the following files:

ThemeSwapperOuter.unitypackage 21 kB