mob-sakai / UITransition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UITransition

Overview

Transition system for uGUI.

  • 単純なアニメーション(点滅、回転、拡縮など)をスクリプトやアセットなしで実装できます
  • UIAnimation : シンプルなTweenを実装できます
    image
    • Unity標準のAnimationを利用しません
    • 絶対的/相対的なTween値を設定できます
    • 以下のプロパティタイプをサポートします
      • Position
      • Rotation
      • Scale
      • Size
      • Alpha
      • (Custom)
    • 設定をプリセットとして保存、編集ができます
    • 初期位置をスクリプトから変更できます
    • Ignore Time Scaleをサポートします
    • Play On Awakeをサポートします
    • コールバックを設定できます
    • 以下のループタイプをサポートします
      • Once
      • Loop
      • Delayed Loop
      • Ping Pong
      • Delayed Ping Pong
    • 多彩なアニメーションカーブプリセットをサポートします
      image image
  • UITransition : UIAnimationを組み合わせて、Show/Hide/Idle/Press/Clickステートに対応したアニメーションを設定できます
    image
    • 親子構造を設定すると、複数のUITransitionを一括操作できます
    • 設定をプリセットとして保存、編集ができます
    • コールバックを設定できます
    • Advanced Option として、以下の項目を設定できます.
      image
      • 初期ステート
      • 追加ディレイ
      • 子に対する逐次ディレイとソート方法
      • 親から渡されたのディレイ値を無効化

Requirement

  • Unity5.4+ (included Unity 2017.x)
  • No other SDK is required.

Usage

  1. Download UITransition.unitypackage and install on your unity project.
  2. AddComponent UITransition or UIAnimation to the GameObject.
  3. Enjoy!

Demo

Release Notes

ver.1.1.0:

  • image
  • Feature: Changing state on enable.
  • Feature: Delay children sequencial.
    • Position X/Y
    • Hierarchy
    • Reversing

ver.1.0.0:

  • Feature: UITransition
    • Supports Show/Hide/Idle/Press/Click states.
    • Parent-child relations for bulk operation.
    • Editable preset.
    • Additional delaying on Show/Hide.
    • Ignore Time Scale.
  • Feature: UIAnimation
    • Supports simple property tweening.
    • Absolute/Relative tween value.
    • Editable preset.
    • Animation curve.
    • Looping.
    • Play on awake.
    • Ignore time scale.
    • Play forward/reverse.

See Also

About

License:MIT License


Languages

Language:C# 100.0%