Skip to content

Easing

namespace Griff;
public enum Easing

One of the Ease curves by name, for a component to be set to in the Inspector (a TweenPlayer’s).

  • Linear = 0: The same speed all the way.
  • InQuad = 1: Starts slow and speeds up.
  • OutQuad = 2: Starts fast and slows down to a stop.
  • InOutQuad = 3: Speeds up, then slows down to a stop.
  • InCubic = 4: Starts slower than InQuad, and speeds up more.
  • OutCubic = 5: Starts faster than OutQuad, and slows down more.
  • InOutCubic = 6: Speeds up, then slows down, more sharply than InOutQuad.
  • InOutSine = 7: Gently speeds up and slows down: a bob, a sway.
  • InBack = 8: Pulls back a little, then goes.
  • OutBack = 9: Overshoots a little, then settles: something popping into place.
  • OutElastic = 10: Springs past the end and wobbles to rest.
  • OutBounce = 11: Lands like a dropped ball: a stamp hitting the page.