Unity3D Color Behavior - Promo
This is a promotional video for my Color Behavior asset. You can find it here: https://brendan.gumroad.com/l/goULJ Audio: Darkest Night by Aaron Paul Low http://www.aaronpaullow.com/ This was developed through Gear5 Media LLC, you can find more information about us here: www.gear5media.com Detailed information for the Color Behavior Asset: Summary: The Color Behavior asset is a single script that you can attach to objects in your scenes. I've written both a C# and JavaScript (UnityScript) version in case people would like to use either version. This script is meant to make it easier to manipulate the color of objects in your game. While this is all in the editor you could change any of the varibles in code during runtime to change the behavior of your object for example when you enter a trigger. I've exposed almost everything to the inspector so you can set up each script and object however you'd like without using code at all. Usage: Uses include -Live changing of Color during runtime using the color wheel, rgba values, and even by using a hex value (only available in Unity 5.1.0 or later) -Live changing of Color using the inspector sliders for rgba values and the hex value box (this hex value works for all versions of Unity) -Live updating Behaviors of color on your object: --Grouping - you can put this behavior script on the parent of a group of objects and if group is checked in the inspector the behavior will effect the children of the object instead of the object itself. --Random - when checked this will give the object a random rgb value without affecting the alpha, if you would like a different random color you can disable and enable this checkbox until you find a color you want to use. - this is also useful when used with the Cycle behavior. If you want the colors to cycle through your list of designated colors randomly instead of linearly. --Blink - when checked you cannot use random or cycle. This will cause your object to blink a random color at the speed of the interval property in seconds. see interval for more details. --Cycle - when checked you cannot use blink. This will cycle through the list of colors linearly (one after another) - cycleList - that YOU must designate in the inspector. - You can do some cool things with this like a blink where it dissappears for an interval by making a color in the list with alpha of 0. - You can use this with Random in order to cycle through the list randomly instead of linearly. --Cycle List - list of colors to cycle through when cycle is checked. --Speed(Interval) - this measures the amount of time in seconds before the color will change. So if it is set to 3 then every 3 seconds the color will change. -Designation of Shader and/or Material for object or group of object in a single place (useful for rapid testing of groups of objects with different materials and shaders) Extra Notes: I built this script to help with one of my personal projects and it has evolved into something much more modular and I believe that a lot of people could use it. This affects the _Color property of whatever shader you're using so if the shader doesn't have that property it won't work correctly. You can also use this with materials to tint them although as of right now there is no way to change the strength of the color tint, alpha just changes the whole materials transparency not just the tint.
Download
0 formatsNo download links available.