Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI Animator

Description

Project consists of a UIAnimator script that allows the management and playing/stopping of UI animations. These UI animations include:
  • Sin
  • Cos
  • Lerp
  • Stretch
  • Alpha Fade
  • Alpha Pulse

The animations are setup using scriptable objects for easy reusing and consistent UI animations. The UIAnimator comes with handy functions that can be incorporated with different UI scripts to allow for easy use and functionality.

Languages and Enviroments

  • Unity
  • C#
  • Windows 10
  • Visual Studio Code

Libraries

  • UnityEngine
  • UnityEngine.UI
  • System
  • System.Collections
  • System.Collections.Generic

System Walkthrough:

Create a new UI animation scriptable object using the create menu:
UI Animator Steps

Fill out the UI animation details:
UI Animator Steps

Create your UI script, and attach it to a gameobject:
UI Animator Steps

Get references to your UI components and UI animation scriptable object:
UI Animator Steps

Use the UIAnimator functions to play animations. Example:
UI Animator Steps

Before:
UI Animator Steps

After:
UI Animator Steps

Once the animation is finished the event is called, triggering a message in the console:
UI Animator Steps

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages