mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-21 01:36:05 +08:00
[BUGFIX] Fixed error with audio shortcuts and Unity versions older than 5
This commit is contained in:
parent
d8d57ac71a
commit
e0ef96323e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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>
|
||||||
Binary file not shown.
Binary file not shown.
@ -4,7 +4,9 @@
|
|||||||
#if true // MODULE_MARKER
|
#if true // MODULE_MARKER
|
||||||
using System;
|
using System;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.Audio;
|
#if UNITY_5 || UNITY_2017_1_OR_NEWER
|
||||||
|
using UnityEngine.Audio; // Required for AudioMixer
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma warning disable 1591
|
#pragma warning disable 1591
|
||||||
namespace DG.Tweening
|
namespace DG.Tweening
|
||||||
|
|||||||
@ -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!!! /////////////////////////////////////////////
|
// IMPORTANT!!! /////////////////////////////////////////////
|
||||||
// Upgrading DOTween from versions older than 1.2.000 ///////
|
// 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
|
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
|
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
|
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 //////////////////////////////////////////////
|
// GET STARTED //////////////////////////////////////////////
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -4,7 +4,9 @@
|
|||||||
#if true // MODULE_MARKER
|
#if true // MODULE_MARKER
|
||||||
using System;
|
using System;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.Audio;
|
#if UNITY_5 || UNITY_2017_1_OR_NEWER
|
||||||
|
using UnityEngine.Audio; // Required for AudioMixer
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma warning disable 1591
|
#pragma warning disable 1591
|
||||||
namespace DG.Tweening
|
namespace DG.Tweening
|
||||||
|
|||||||
@ -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!!! /////////////////////////////////////////////
|
// IMPORTANT!!! /////////////////////////////////////////////
|
||||||
// Upgrading DOTween from versions older than 1.2.000 ///////
|
// 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
|
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
|
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
|
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 //////////////////////////////////////////////
|
// GET STARTED //////////////////////////////////////////////
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user