1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2026-02-04 14:24:55 +08:00

Added core systems that allow to play tweens in the editor

This commit is contained in:
Demigiant 2018-08-08 20:36:57 +02:00
parent 8931993c6b
commit c2faaf3a68
17 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: d3e15b806a8368742ba6f10e794d7b76
timeCreated: 1533212723
timeCreated: 1533742575
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}

View File

@ -32,7 +32,7 @@ namespace DG.Tweening
public class DOTween
{
/// <summary>DOTween's version</summary>
public static readonly string Version = "1.2.075"; // Last version before modules: 1.1.755
public static readonly string Version = "1.2.080"; // Last version before modules: 1.1.755
///////////////////////////////////////////////
// Options ////////////////////////////////////
@ -264,7 +264,10 @@ namespace DG.Tweening
public static void ManualUpdate(float deltaTime, float unscaledDeltaTime)
{
InitCheck();
instance.ManualUpdate(deltaTime, unscaledDeltaTime);
// instance.ManualUpdate(deltaTime, unscaledDeltaTime);
if (TweenManager.hasActiveManualTweens) {
TweenManager.Update(UpdateType.Manual, deltaTime * DOTween.timeScale, unscaledDeltaTime * DOTween.timeScale);
}
}
#endregion

View File

@ -30,7 +30,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\bin\</OutputPath>
<DefineConstants>TRACE;UNITY_4_3;UNITY_4_6;UNITY_5;UNITY_2017_1_OR_NEWER</DefineConstants>
<DefineConstants>TRACE;UNITY_EDITOR;UNITY_4_3;UNITY_4_6;UNITY_5;UNITY_2017_1_OR_NEWER</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>
@ -80,8 +80,11 @@
<Compile Include="..\bin_pro\*.txt">
<Link>bin_pro\%(FileName)</Link>
</Compile>
<Compile Include="..\bin_pro\Editor\*.cs">
<Link>bin_pro\Editor\%(FileName)</Link>
<Compile Include="..\bin_pro\Editor\DOTweenAnimationInspector.cs">
<Link>bin_pro\Editor\DOTweenAnimationInspector</Link>
</Compile>
<Compile Include="..\bin_pro\Editor\DOTweenPreviewManager.cs">
<Link>bin_pro\Editor\DOTweenPreviewManager</Link>
</Compile>
</ItemGroup>
<ItemGroup>

Binary file not shown.