1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 17:26:03 +08:00

Updated examples project

This commit is contained in:
Demigiant 2017-02-02 11:37:00 +01:00
parent f005dc3984
commit 07dff0075f
72 changed files with 9 additions and 9 deletions

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 13f1a616e039fd94baf2221e133fcaf9
folderAsset: yes
timeCreated: 1486030249
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -53,7 +53,6 @@ public class CustomRangePlugin : ABSTweenPlugin<CustomRange, CustomRange, NoOpti
// Calculates the value based on the given time and ease // Calculates the value based on the given time and ease
public override void EvaluateAndApply(NoOptions options, Tween t, bool isRelative, DOGetter<CustomRange> getter, DOSetter<CustomRange> setter, float elapsed, CustomRange startValue, CustomRange changeValue, float duration, bool usingInversePosition, UpdateNotice updateNotice) public override void EvaluateAndApply(NoOptions options, Tween t, bool isRelative, DOGetter<CustomRange> getter, DOSetter<CustomRange> setter, float elapsed, CustomRange startValue, CustomRange changeValue, float duration, bool usingInversePosition, UpdateNotice updateNotice)
{ {
CustomRange res = getter();
float easeVal = EaseManager.Evaluate(t, elapsed, duration, t.easeOvershootOrAmplitude, t.easePeriod); float easeVal = EaseManager.Evaluate(t, elapsed, duration, t.easeOvershootOrAmplitude, t.easePeriod);
// Here I use startValue directly because CustomRange a struct, so it won't reference the original. // Here I use startValue directly because CustomRange a struct, so it won't reference the original.

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 256 KiB

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 13f42001f5d426c42a8e0090738096d0
timeCreated: 1441704883
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant: