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

[BUGFIX] Fixed error with audio shortcuts and Unity versions older than 5

This commit is contained in:
Demigiant 2018-08-06 10:21:34 +02:00
parent d8d57ac71a
commit e0ef96323e
17 changed files with 24 additions and 6 deletions

View File

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>DOTweenUpgradeManager</name>
</assembly>
<members>
<member name="T:DG.DOTweenUpgradeManager.Autorun">
<summary>
This class and its whole library are deleted the first time DOTween's setup is run after an upgrade (or after a new install).
NOTE: DidReloadScripts doesn't work on first install so it's useless, InitializeOnLoad is the only way
</summary>
</member>
</members>
</doc>

View File

@ -4,7 +4,9 @@
#if true // MODULE_MARKER
using System;
using UnityEngine;
using UnityEngine.Audio;
#if UNITY_5 || UNITY_2017_1_OR_NEWER
using UnityEngine.Audio; // Required for AudioMixer
#endif
#pragma warning disable 1591
namespace DG.Tweening

View File

@ -1,4 +1,4 @@
DOTween and DOTween Pro are copyright (c) 2014 Daniele Giardini - Demigiant
DOTween and DOTween Pro are copyright (c) 2014-2018 Daniele Giardini - Demigiant
// IMPORTANT!!! /////////////////////////////////////////////
// Upgrading DOTween from versions older than 1.2.000 ///////
@ -8,7 +8,7 @@ If you're upgrading your project from a version of DOTween older than 1.2.000 (o
1) Import the new version in the same folder as the previous one, overwriting old files. A lot of errors will appear but don't worry
2) Close and reopen Unity (and your project). This is fundamental: skipping this step will cause a bloodbath
3) Open DOTween's Utility Panel (Tools > Demigiant > DOTween Utility Panel) if it doesn't open automatically, then press "Setup DOTween...": this will run the upgrade setup
4) From the Add/Remove Modules panel that opens, activate all Modules for the tweens you were using (all of them, probably)
4) From the Add/Remove Modules panel that opens, activate/deactivate Modules for Unity systems and for external assets (Pro version only)
// GET STARTED //////////////////////////////////////////////

Binary file not shown.

View File

@ -4,7 +4,9 @@
#if true // MODULE_MARKER
using System;
using UnityEngine;
using UnityEngine.Audio;
#if UNITY_5 || UNITY_2017_1_OR_NEWER
using UnityEngine.Audio; // Required for AudioMixer
#endif
#pragma warning disable 1591
namespace DG.Tweening

View File

@ -1,4 +1,4 @@
DOTween and DOTween Pro are copyright (c) 2014 Daniele Giardini - Demigiant
DOTween and DOTween Pro are copyright (c) 2014-2018 Daniele Giardini - Demigiant
// IMPORTANT!!! /////////////////////////////////////////////
// Upgrading DOTween from versions older than 1.2.000 ///////
@ -8,7 +8,7 @@ If you're upgrading your project from a version of DOTween older than 1.2.000 (o
1) Import the new version in the same folder as the previous one, overwriting old files. A lot of errors will appear but don't worry
2) Close and reopen Unity (and your project). This is fundamental: skipping this step will cause a bloodbath
3) Open DOTween's Utility Panel (Tools > Demigiant > DOTween Utility Panel) if it doesn't open automatically, then press "Setup DOTween...": this will run the upgrade setup
4) From the Add/Remove Modules panel that opens, activate all Modules for the tweens you were using (all of them, probably)
4) From the Add/Remove Modules panel that opens, activate/deactivate Modules for Unity systems and for external assets (Pro version only)
// GET STARTED //////////////////////////////////////////////