Giter VIP home page Giter VIP logo

unityuiplayables's Introduction

Unity UI Playables

Tracks and Clips for controlling the Unity UI (uGUI) with Timeline.

Demo

Features

Control Unity UI (uGUI)

Unity UI Playables allows you to control any uGUI components and its parameters with Timeline.

Control Unity UI

Easings and Animation Curve

You can easily set up animations using the easing functions.
If you want to create complex animations, you can also use Animation Curve.

Easings and Animation Curve

Looping of animations is also possible (Repeat, Reverse, and PingPong are supported as loop types).

Blending

All clips and all parameters are blendable.

Blending

Setup

Requirement

Unity 2019.4 or higher.

Install

  1. Open the Package Manager from Window > Package Manager
  2. "+" button > Add package from git URL
  3. Enter the following

Package Manager

Or, open Packages/manifest.json and add the following to the dependencies block.

{
    "dependencies": {
        "com.harumak.unityuiplayables": "https://github.com/Haruma-K/UnityUIPlayables.git?path=/Assets/UnityUIPlayables"
    }
}

If you want to set the target version, specify it like follow.

License

This software is released under the MIT License.
You are free to use it within the scope of the license.
However, the following copyright and license notices are required for use.

Usage

Create Tracks and Clips

Press the add track button in Timeline and select the track below UnityUIPlayables.

Create Tracks and Clips

Next, add the corresponding clip to the track.
The parameters can be controlled from the clip's inspector.

Controllable Parameters

Component Name Parameter Name
RectTransform Anchored Position
Size Delta
Local Rotation
Local Scale
Graphic Color
Image Color
Fill Amount
RawImage Color
UV Rect
Text Color
Font Size
Line Spacing
Text (Text Mesh Pro) Font Size
Color
Gradient (Top Left / Top Right / Bottom Left / Bottom Right)
Spacing (Character / Line / Word / Paragraph)
Face Color (Only at Runtime)
Outline Color (Only at Runtime)
Outline Width (Only at Runtime)
Slider Value
Canvas Group Alpha

Demo

  1. Clone this repository.
  2. Open and play the following scene.

unityuiplayables's People

Contributors

haruma-k avatar xrdnk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.