A simple solution to a material design background effect in unity3D.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Assets
Library
ProjectSettings
unitypackage
Assembly-CSharp-Editor.csproj
Assembly-CSharp-firstpass.csproj
Assembly-CSharp.csproj
README.md
flat_background_effect_unity3D.sln
unity.gitignore

README.md

Material Design Background Effect - Unity3D

Google material design/ flat design background effect I created for Unity3D, really simple but very useful. You can simply call the function "ChangeBackground ()" from BackgroundController.cs and the magic will be done.

How to use?

  • Add "Assets/Scripts/BackgroundController.cs" to a game object;
  • Add background prefabs. You can find some in "Assets/Prefabs" or create your own.
  • This script will automatically call "ChangeBackground ()" on game start, if you'd like to change the background during runtime, find the script and call the function whenever you'd like (i.e.: menu transitions, scene transitions, etc.)
  • (Optional) To add this scripts and prefabs to an existing project, simply import "unitypackages/materialdesign.unitypackage".

Usage

gif

Contributing

  • Fork the repository on Github;
  • Clone the project into your machine;
  • Commit your changes to your own branch;
  • Push your work to your fork;
  • Submit a pull request for review;

Copyright

This project is under Apache 2.0 license.