1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 09:16:02 +08:00
This commit is contained in:
Demigiant 2018-08-08 20:37:56 +02:00
parent c2faaf3a68
commit 22a26a3746
11 changed files with 7 additions and 6 deletions

View File

@ -93,12 +93,13 @@ namespace DG.Tweening.Core
} }
} }
internal void ManualUpdate(float deltaTime, float unscaledDeltaTime) // Now activated directly by DOTween so it can be used to run tweens in editor mode
{ // internal void ManualUpdate(float deltaTime, float unscaledDeltaTime)
if (TweenManager.hasActiveManualTweens) { // {
TweenManager.Update(UpdateType.Manual, deltaTime * DOTween.timeScale, unscaledDeltaTime * DOTween.timeScale); // if (TweenManager.hasActiveManualTweens) {
} // TweenManager.Update(UpdateType.Manual, deltaTime * DOTween.timeScale, unscaledDeltaTime * DOTween.timeScale);
} // }
// }
// Removed to allow compatibility with Unity 5.4 and later // Removed to allow compatibility with Unity 5.4 and later
// void OnLevelWasLoaded() // void OnLevelWasLoaded()

Binary file not shown.