public float Update(float amount) { if (amount < 0.5f) { return(easeIn.Update(amount * 2) * 0.5f); } return(easeOut.Update(amount * 2 - 1) * 0.5f + 0.5f); }
public float Update(float amount) { return(1 - easeOut.Update(1 - amount)); }