From de7e16a90993e27ed5f803d195e76d0686b16996 Mon Sep 17 00:00:00 2001 From: "instance.id" Date: Fri, 30 Jul 2021 20:42:57 -0500 Subject: [PATCH] Update package version num --- README.md | 19 +++++++++++-------- package.json | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fc39d23..5bd040a 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,18 @@ # ElementAnimationToolkit ### A collection of Unity UIToolkit/UIElements chainable animation extension methods, premade animated elements, and examples. -![](Documentation/media/intro_animation.gif) +![](media/intro_animation.gif)
- [ElementAnimationToolkit](#elementanimationtoolkit) - - [Recent Features or Changes](#recent-features-or-changes) + - [Recent Features or Changes](#recent-features-or-changes) - [Documentation](#documentation) - [Installation](#installation) - [Install via OpenUPM](#install-via-openupm) - [Unity Package Manager](#unity-package-manager) - [Animations and Features](#animations-and-features) - - [Usage / Examples:](#usage--examples) + - [Usage / Examples](#usage--examples) - [Background Color Fade-In](#background-color-fade-in) - [Hover Border Pulse](#hover-border-pulse) - [Fade-in sequence](#fade-in-sequence) @@ -60,6 +60,9 @@ This package began simply as a small collection of helpers methods I created acr ### Animations and Features --- + +(There are more, I just have not added them all yet) + | Animation types: | Method | | ------------------ | ---------------------- | | Sequences: | | @@ -119,7 +122,7 @@ Note: The code is pretty ~~heavily~~ excessively documented and currently most m There are several fairly basic base animation helper methods which can easily be used on their own, but are also the basis of the more complex animation sequences: #### Background Color Fade-In -![](Documentation/media/background_fade_example.gif) +![](media/background_fade_example.gif) (The initial fade from gray to blue)
@@ -142,7 +145,7 @@ visualElement.AnimateBackgroundColor(originalColor, fadeColor, durationOfFade); --- #### Hover Border Pulse -![](Documentation/media/hoverborderpulse_example.gif) +![](media/hoverborderpulse_example.gif)
Example hover animation: HoverBorderPulse() @@ -158,7 +161,7 @@ visualElement.HoverBorderPulse(pulseStartColor: GetColor.FromHex("#7F3B3A"), pul --- #### Fade-in sequence -![](Documentation/media/fade_example.gif) +![](media/fade_example.gif)
Example complex animation sequence: AnimFadeInSequence() @@ -244,7 +247,7 @@ You can access the main editor window via Tools > instance.id > Element Animatio There are three buttons per row, Editor, Anim, and USS. -![](Documentation/media/rowbuttons.png) +![](media/rowbuttons.png) The editor button will take you directly to the editor code specific to that element where you will see the C# implementation of UIElements as well as most callback registrations. @@ -255,7 +258,7 @@ Lastly is the USS button, which takes you to the USS stylesheet and the location The animations without a row of buttons have a right-click context menu implemented which has similar options to jump directly into the code at the proper location for the animation. (The methods I have created for jumping straight to the proper lines of code are of course included and you are welcome to take advantage of them for your own needs.) -![](Documentation/media/jumptomenu.png) +![](media/jumptomenu.png) --- diff --git a/package.json b/package.json index 4ccf695..b2f6165 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "id.instance.elementanimationtoolkit", "displayName": "Element Animation Toolkit", "repositoryName": "Element Animation Toolkit", - "version": "0.1.7", + "version": "0.1.9", "description": "A collection of Unity UIElements standalone animations, new animated elements, and examples.", "type": "library", "unity": "2019.4",