Created
February 10, 2018 14:04
-
-
Save kyubuns/4283c5b27091c27d39de7975edc41f7b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = Anime.Play(1.0f, 0.5f, Easing.EaseInOutSine(TimeSpan.FromSeconds(1f))) | |
.Play(1.0f, Easing.EaseOutElastic(TimeSpan.FromSeconds(0.8f))); | |
var y = Anime.Play(1.0f, 1.2f, Easing.EaseInOutSine(TimeSpan.FromSeconds(1f))) | |
.Play(1.0f, Easing.EaseOutElastic(TimeSpan.FromSeconds(0.8f))); | |
Observable.CombineLatest(x, y) | |
.Select(s => new Vector3(s[0], s[1], 1f)) | |
.SubscribeToLocalScale(sphere); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment