Exemple #1
0
 // Create Animator
 private void Setup(float dur, float delay, AnimationEasingType eas, EasingType typ, AnimationDriveType d) {
     startTime = Time.time + delay;
     duration = dur;
     easingType = typ;
     easing = new AnimationEasing(eas);
     drive = new AnimationDrive(d);
 }
Exemple #2
0
 private bool DriveNeedsDiff(AnimationDriveType drive) {
     AnimationDrive d = new AnimationDrive(drive);
     return d.CalculateDiff();
 }