mattrdowney / planetaria

A Unity framework for Euclidean 2-sphere games (e.g. 2D virtual reality games) [quasi-MIT license]
Other
10 stars 2 forks source link

PlanetariaCameraShutter with IEnumerator/AnimationCurve #61

Closed mattrdowney closed 6 years ago

mattrdowney commented 6 years ago

Pros: Gets rid of PlanetariaShutterMotor Increases efficiency for inactive frames (roughly 5% (~0.3/6.3) of the time) Generally makes the code cleaner / blink event call more elegant

Cons: De-scheduling events is a huge pain

mattrdowney commented 6 years ago

Done as of 8c0550e9b59cece05bc76d3336d2702d410851ee