예제 #1
0
파일: AniMate.cs 프로젝트: bfowle/Ani.Mate
 // Get value for custom position
 public System.Object GetValue(float easPos) {
     // Use drive to calculate value
     return drive.Animate(startValue, endValue, change, easPos * duration, duration);
 }
예제 #2
0
        // Get current animation value
        public System.Object GetValue()
        {
            float easPos = GetEasing(GetPosition());

            return(drive.Animate(startValue, endValue, change, easPos * duration, duration));
        }