npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

com.matuyuhi.animationpro

v1.1.5

Published

This is a UI and other animation system

Downloads

28

Readme

Animation Pro

view

AnimationPro is a UI and other animation system for Unity. It provides you with a simple API to add smooth animations to your project with ease.

NPM Package openupm Licence Codacy Badge npm

Switch Language

Installation

To install this package via NPM to your Unity project, follow these steps:

Install from a Git URL

You can install the UPM package via directly Git URL. To load a package from a Git URL:

  • Open Unity Package Manager window.
  • Click the add + button in the status bar.
  • The options for adding packages appear.
  • Select Add package from git URL from the add menu. A text box and an Add button appear.
  • Enter the https://github.com/Matuyuhi/AnimationPro.git Git URL in the text box and click Add.
  • You may also install a specific package version by using the URL with the specified version.
    • https://github.com/Matuyuhi/AnimationPro.git#X.Y.Z
    • Please note that the version X.Y.Z stated here is to be replaced with the version you would like to get.
    • You can find all the available releases here.
    • The latest available release version is Last Release

For more information about what protocols Unity supports, see Git URLs.

Install from NPM

  • Navigate to the Packages directory of your project.
  • Adjust the project manifest file manifest.json in a text editor.
  • Ensure https://registry.npmjs.org/ is part of scopedRegistries.
    • Ensure com.matuyuhi is part of scopes.
    • Add com.matuyuhi.animationpro to the dependencies, stating the latest version.

A minimal example ends up looking like this. Please note that the version X.Y.Z stated here is to be replaced with the latest released version, which is currently NPM Package.

{
  "scopedRegistries": [
    {
      "name": "npmjs",
      "url": "https://registry.npmjs.org/",
      "scopes": [
        "com.matuyuhi"
      ]
    }
  ],

  "dependencies": {
    "com.matuyuhi.animationpro": "X.Y.Z"
  }
}
  1. Save and close the manifest.json file.
  2. Open the Unity editor. The package manager should automatically install the AnimationPro package.

Usage

Component

Simple animations that can be easily used by adding them to components

  • In Playing
  • In Setting

Animations Document file

Here's a basic example of how to use AnimationPro:

public class SampleAnimation : AnimationBehaviour
{
  // onClick method attach button
  public void OnClick()
  {
    Animation(
      this.SlideOutHorizontal(AnimationAPI.DirectionHorizontal.Right, Easings.CircIn(0.8f)) +
      this.FadeOut(Easings.CircIn(0.5f, 0.2f)),
      new AnimationListener()
      {
        OnFinished = () =>
        {
            gameObject.SetActive(false);
            // imp animation finished callback
        }
      }
    );
  }
}

Contributing

We welcome bug reports and feature requests. Please feel free to make a pull request if you believe you can improve the code.

License

This project is licensed under the MIT license. For more information, please see the LICENSE file.

Author

This project was created by Matuyuhi.

Support or Contact Information

If you have any questions, issues, or want to contribute, feel free to open an issue in this repository or contact me directly.

  • Project: https://github.com/Matuyuhi/AnimationPro
  • Email: [email protected]
  • Github: https://github.com/Matuyuhi