Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kakashysen/simplecolorinterpolation
Example of colour interpolation from C# code
https://github.com/kakashysen/simplecolorinterpolation
animation csharp unity unity-3d unity-scripts unity-tutorials
Last synced: about 1 month ago
JSON representation
Example of colour interpolation from C# code
- Host: GitHub
- URL: https://github.com/kakashysen/simplecolorinterpolation
- Owner: kakashysen
- Created: 2017-08-26T18:36:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-26T20:38:35.000Z (over 7 years ago)
- Last Synced: 2024-11-16T10:13:47.024Z (3 months ago)
- Topics: animation, csharp, unity, unity-3d, unity-scripts, unity-tutorials
- Language: C#
- Homepage: http://blog.jappsku.co/como-crear-una-animacion-de-color-desde-c-en-unity/
- Size: 29.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Colour Animation
Example of colour interpolation from C# code. This example change the `Emission Color` for a simple Cube.
For more information you can check my [blog](http://blog.jappsku.co/como-crear-una-animacion-de-color-desde-c-en-unity)## What is inside
### __PlayerCube__
a simple `gameObject`(cube) that has an rotation in axis y and change the emission colour.### __Player__
a `c# scrtip` that contains the animation to change the emission colour.### __Start__
Contains two important lines. You can comment and uncomment each one of them and test the game to see the animation changes.```c#
StartCoroutine(ColorChange(Color.yellow));
//StartCoroutine(Blink());
```## Author
Jose Aponte, [email protected]
## Licencse
Available under the MIT license. See the LICENSE file for more info.