Generating Scripts
Enter in the namespace textbox a distinguishable name related to what this color palette will be for. The name must be alpha numeric, starting with a capital letter. The textbox will auto validate for the acceptable characters.
Now that you have at least 1 color in your palette, with a valid name and a valid name in the namespace textbox. Click the Generate Script button, this will open up a Save File Panel. The default name for the script is Palette which is what we recommend since it is easy to remember, the name you entered in the namespace textbox is how you will differentiate between your Palette scripts.
Choose where you would like to save your Palette script and click Save. You will find 2 items will be created, the Palette Script and a palette asset which is named after what name was present in the namespace textbox.
This palette asset represents your custom palette you created, it can be used as a shortcut by double clicking it to open the Palette Plus window with your defined colors so you can easily update your palette any time later.
We are now ready to use our generated Palette script. To use our script we must declare its implementation with the 'using' directive.
In the video example on line 4 we declare it with:
#using UIColors;
Where UIColors is the name of the namespace we gave it in the Palette Plus namespace textbox.
Now when we call our new Palette class, our available colours will be displayed by the intellisense auto-completion suggestion.