Skip to content

Pepengineers/PEPAnimationEvents

Repository files navigation

PEPAnimationEvents

The animation events system allows binding events to the exact timings in the animations of your choice.

Installation

You can install via git url by adding this entry in your manifest.json

"com.pepengineers.pepanimationevents": "https://github.com/Pepengineers/PEPAnimationEvents",

or via Package Manager изображение

Usage

Select the desired animation clip in the animator window, then press the "Add Behaviour" button and add the "Trigger Behaviour" sript: изображение

Then choose "IAnimationTrigger[]" in the Triggers field: изображение

Next press the "+" button and add the trigger of your choice to the list: изображение You can chose the timing for the trigger using the "Trigger Time" slider. Select "Once" if you want the trigger to happen only once during a looped animation.

You can preview the object when setting "Trigger Time". Lock the animation window in the Inspector and select the object to preview. Then press the "Preview" button. изображение

Now the object will play the animation, allowing for more prescise timing selection. изображение

About

Animation events system allowing to bind events to specific animation frames.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages