MonoBehaviours in Unity are generally pretty cool, but can instantly become uncool when you want to work with Generics. The UnityEditor doesn’t know how to find and instantiate generic behaviours. It won’t even let you attach them, but there is a solution.
In Part 2 of the series we added support for easing functions in our tweens. We followed an extensible model that allows us to create and plug in new easing functions on the fly without requiring drastic changes to our core Interpolator logic. Today, we’re going to do the same thing with looping.