mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2026-02-16 20:11:52 +08:00
[BUGFIX] Fixed warning CS0219 on DOTweenModuleUtils.Preserver
This commit is contained in:
parent
605c5ba9be
commit
23214c0722
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -52,6 +52,7 @@ namespace DG.Tweening
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
#if UNITY_2018_1_OR_NEWER
|
||||||
|
#pragma warning disable
|
||||||
[UnityEngine.Scripting.Preserve]
|
[UnityEngine.Scripting.Preserve]
|
||||||
// Just used to preserve methods when building, never called
|
// Just used to preserve methods when building, never called
|
||||||
static void Preserver()
|
static void Preserver()
|
||||||
@ -59,6 +60,7 @@ namespace DG.Tweening
|
|||||||
Assembly[] loadedAssemblies = AppDomain.CurrentDomain.GetAssemblies();
|
Assembly[] loadedAssemblies = AppDomain.CurrentDomain.GetAssemblies();
|
||||||
MethodInfo mi = typeof(MonoBehaviour).GetMethod("Stub");
|
MethodInfo mi = typeof(MonoBehaviour).GetMethod("Stub");
|
||||||
}
|
}
|
||||||
|
#pragma warning restore
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -32,7 +32,7 @@ namespace DG.Tweening
|
|||||||
public class DOTween
|
public class DOTween
|
||||||
{
|
{
|
||||||
/// <summary>DOTween's version</summary>
|
/// <summary>DOTween's version</summary>
|
||||||
public static readonly string Version = "1.2.200"; // Last version before modules: 1.1.755
|
public static readonly string Version = "1.2.201"; // Last version before modules: 1.1.755
|
||||||
|
|
||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
// Options ////////////////////////////////////
|
// Options ////////////////////////////////////
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -52,6 +52,7 @@ namespace DG.Tweening
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
#if UNITY_2018_1_OR_NEWER
|
||||||
|
#pragma warning disable
|
||||||
[UnityEngine.Scripting.Preserve]
|
[UnityEngine.Scripting.Preserve]
|
||||||
// Just used to preserve methods when building, never called
|
// Just used to preserve methods when building, never called
|
||||||
static void Preserver()
|
static void Preserver()
|
||||||
@ -59,6 +60,7 @@ namespace DG.Tweening
|
|||||||
Assembly[] loadedAssemblies = AppDomain.CurrentDomain.GetAssemblies();
|
Assembly[] loadedAssemblies = AppDomain.CurrentDomain.GetAssemblies();
|
||||||
MethodInfo mi = typeof(MonoBehaviour).GetMethod("Stub");
|
MethodInfo mi = typeof(MonoBehaviour).GetMethod("Stub");
|
||||||
}
|
}
|
||||||
|
#pragma warning restore
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user