Skip to content

A simple solution to creating a material design background transition in Unity.

Notifications You must be signed in to change notification settings

vitorfgd/material-design-background-effect-unity

Repository files navigation

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.

About

A simple solution to creating a material design background transition in Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages