cjddmut / Unity-2D-Platformer-Controller

A customizable 2D platformer motor that handles mechanics such as double jumps, wall jumps, and corner grabs. Includes a player controlled prefab that can be dropped into any scene for immediate support.
MIT License
873 stars 163 forks source link

Hashed and agnostic animations, play once jump animation option #49

Open ChrisHoopes opened 8 years ago

ChrisHoopes commented 8 years ago

Stores animations as hashes instead of strings, checks if animations exist on load and only plays those that do so that animator script is agnostic of animation controller. Also adds ability to mark jump animation as play once so that jump doesn't loop. Ability to play jump animation is reset when controller lands or a mid-air jump is started.