Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Conversation

@jeffcampbellmakesgames
Copy link
Contributor

Summary

This PR adds the native Unity AnimationCurve class as a Variable, Reference, and Collection type. This class is great for all sorts of animation, tweening, and other overtime effects and being able to leverage it in a data driven fashion is very useful.

Example Variable
image

Example Collection
image

Example Script
image

Testing

I've created a commit at the end of this branch that contains some of these new asset types as well as an example script and scene for viewing references. I would poke at these to make sure that editing the AnimationCurve value it serialized and drawn in the inspector as expected.

Changes

Created AnimationCurve Variable, Reference, and Collection

  • Created AnimationCurveVariable, AnimationCurve Reference, and AnimationCurve Collection so that the AnimationCurve type can be used in a data driven fashion.

jzapdot added 2 commits April 20, 2019 10:34
* Created AnimationCurveVariable, AnimationCurve Reference, and AnimationCurve Collection so that the AnimationCurve type can be used in a data driven fashion.
* This is PR content to make it easier to review and can be discarded after review+pr approval.
@DanielEverland DanielEverland added this to the Release 1.6.0 milestone Apr 21, 2019
@DanielEverland
Copy link
Owner

Merged

@jeffcampbellmakesgames jeffcampbellmakesgames deleted the feat/animation_curve_variable branch April 21, 2019 12:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants