예제 #1
0
//----------------------------------------------------------------------------------------------------------------------

        static void AddKeyAndVerify(AnimationCurve curve, float time, float val)
        {
            curve.AddOrUpdateKey(time, val);
            Assert.AreEqual(val, curve.Evaluate(time));
        }