Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created AnimationCurve Variable, Reference, and Collection types #67

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants