Skip to content

Demexis/Demegraunt.Framework.Shaker

Repository files navigation

GitHub Release MIT license

Demegraunt.Framework.Shaker

Position shaker. Contains ShakerTrack for Timeline package.

Table of Contents

Setup

Requirements

  • Unity 2022.2 or later

Installation

Use ONE of two options:

a) Unity Package (Recommended)

Download a unity package from the latest release.

b) Package Manager

  1. Open Package Manager from Window > Package Manager.
  2. Click the "+" button > Add package from git URL.
  3. Enter the following URL:
https://github.com/Demexis/Demegraunt.Framework.Shaker.git

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

{
    "dependencies": {
        "com.demegraunt.framework.shaker": "https://github.com/Demexis/Demegraunt.Framework.Shaker.git"
    }
}

Usage

Attach the ShakerComponent component to a game-object. Check the bool ShakeAlways or call Shake(float time) manually in code or via UnityEvent(-s).

shaker-component-preview

Add ShakeTrack to your timeline (+ -> Demegraunt.Framework -> Shake Track). Set the "shaking transform". RMB, click Add Shake Clip, configure parameters.

shake-track-preview

Check Shaker.cs and ShakerPlayback.cs. You can use them in your custom systems and tools.

About

Position shaker.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages