added boss (final commit)

This commit is contained in:
MrTorex committed 2026-02-07 13:34:37 +03:00
1 parent ff19b0461e
commit 0a1cecfb4a
71 files changed
+1953 -144

No files matched your search

@@ -8,4 +8,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/DOTween.XML
uploadId: 831234
uploadId: 858678
Binary file not shown.
@@ -26,4 +26,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/DOTween.dll
uploadId: 831234
uploadId: 858678
@@ -131,6 +131,27 @@
Not used as menu item anymore, but as a utility function
</summary>
</member>
<member name="M:DG.DOTweenEditor.DOTweenDefines.RefreshDOTweenSettings(DG.Tweening.Core.DOTweenSettings)">
<summary>Sets the modules bool values to the current defines state</summary>
</member>
<member name="M:DG.DOTweenEditor.DOTweenDefines.RefreshAll">
<summary>Refreshes the enabled state of all defines</summary>
</member>
<member name="M:DG.DOTweenEditor.DOTweenDefines.ApplyGUIEnabledToAll">
<summary>Applies the guiEnabled value state to each define, adding or removing them based on that</summary>
</member>
<member name="M:DG.DOTweenEditor.DOTweenDefines.RemoveAll">
<summary>Removes all DOTween defines including the ones for external assets</summary>
</member>
<member name="M:DG.DOTweenEditor.DOTweenDefines.RemoveAllLegacy">
<summary>Removes all legacy defines</summary>
</member>
<member name="M:DG.DOTweenEditor.DOTweenDefines.Def.Remove">
<summary>Removes the define if present</summary>
</member>
<member name="M:DG.DOTweenEditor.DOTweenDefines.Def.Add">
<summary>Adds the define if it's not already present</summary>
</member>
<member name="F:DG.DOTweenEditor.UnityEditorVersion.Version">
<summary>Full major version + first minor version (ex: 2018.1f)</summary>
</member>
@@ -8,4 +8,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Editor/DOTweenEditor.XML
uploadId: 831234
uploadId: 858678
@@ -26,4 +26,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Editor/DOTweenEditor.dll
uploadId: 831234
uploadId: 858678
@@ -8,4 +8,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Editor/DOTweenUpgradeManager.XML
uploadId: 831234
uploadId: 858678
@@ -51,4 +51,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Editor/Imgs/DOTweenIcon.png
uploadId: 831234
uploadId: 858678
@@ -72,4 +72,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Editor/Imgs/DOTweenMiniIcon.png
uploadId: 831234
uploadId: 858678
@@ -51,4 +51,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Editor/Imgs/Footer.png
uploadId: 831234
uploadId: 858678
@@ -51,4 +51,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Editor/Imgs/Footer_dark.png
uploadId: 831234
uploadId: 858678
@@ -51,4 +51,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Editor/Imgs/Header.jpg
uploadId: 831234
uploadId: 858678
@@ -1,7 +1,7 @@
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2018/07/13
#if true // MODULE_MARKER
#if !DOTWEEN_NOAUDIO // MODULE_MARKER
using System;
using DG.Tweening.Core;
using DG.Tweening.Plugins.Options;
@@ -12,4 +12,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModuleAudio.cs
uploadId: 831234
uploadId: 858678
@@ -1,6 +1,6 @@
using UnityEngine;
#if false || EPO_DOTWEEN // MODULE_MARKER
#if DOTWEEN_EPO || EPO_DOTWEEN // MODULE_MARKER
using EPOOutline;
using DG.Tweening.Plugins.Options;
@@ -16,4 +16,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModuleEPOOutline.cs
uploadId: 831234
uploadId: 858678
@@ -1,7 +1,7 @@
// Author: Daniele Giardini - http://www.demigiant.com
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2018/07/13
#if false // MODULE_MARKER
#if !DOTWEEN_NOPHYSICS // MODULE_MARKER
using System;
using DG.Tweening.Core;
using DG.Tweening.Core.Enums;
@@ -12,4 +12,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModulePhysics.cs
uploadId: 831234
uploadId: 858678
@@ -1,7 +1,7 @@
// Author: Daniele Giardini - http://www.demigiant.com
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2018/07/13
#if false // MODULE_MARKER
#if !DOTWEEN_NOPHYSICS2D // MODULE_MARKER
using System;
using DG.Tweening.Core;
using DG.Tweening.Plugins;
@@ -12,4 +12,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModulePhysics2D.cs
uploadId: 831234
uploadId: 858678
@@ -1,7 +1,7 @@
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2018/07/13
#if true // MODULE_MARKER
#if !DOTWEEN_NOSPRITES // MODULE_MARKER
using System;
using UnityEngine;
using DG.Tweening.Core;
@@ -12,4 +12,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModuleSprite.cs
uploadId: 831234
uploadId: 858678
@@ -1,7 +1,7 @@
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2018/07/13
#if true // MODULE_MARKER
#if !DOTWEEN_NOUI // MODULE_MARKER
using System;
using System.Globalization;
@@ -12,4 +12,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModuleUI.cs
uploadId: 831234
uploadId: 858678
@@ -0,0 +1,113 @@
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2026/01/08
#if DOTWEEN_UITOOLKIT && UNITY_2021_3_OR_NEWER // MODULE_MARKER
using UnityEngine;
using UnityEngine.UIElements;
using DG.Tweening.Core;
using DG.Tweening.Plugins.Options;
#pragma warning disable 1591
namespace DG.Tweening
{
public static class DOTweenModuleUIToolkit
{
#region Shortcuts
#region VisualElement
/// <summary>Tweens a VisualElement's position (via style.translate) to the given value.
/// Also stores the VisualElement as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
/// <param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
public static TweenerCore<Vector3, Vector3, VectorOptions> DOMove(this VisualElement target, Vector3 endValue, float duration, bool snapping = false)
{
TweenerCore<Vector3, Vector3, VectorOptions> t
= DOTween.To(() => target.resolvedStyle.translate, x => target.style.translate = new Translate(x.x, x.y, x.z), endValue, duration);
t.SetOptions(snapping).SetTarget(target);
return t;
}
/// <summary>Tweens a VisualElement's position (via style.translate) to the given value.
/// Also stores the VisualElement as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
/// <param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
public static TweenerCore<Vector2, Vector2, VectorOptions> DOMove(this VisualElement target, Vector2 endValue, float duration, bool snapping = false)
{
TweenerCore<Vector2, Vector2, VectorOptions> t
= DOTween.To(() => (Vector2)target.resolvedStyle.translate, x => target.style.translate = x, endValue, duration);
t.SetOptions(snapping).SetTarget(target);
return t;
}
/// <summary>Tweens a VisualElement's X position (via style.translate) to the given value.
/// Also stores the VisualElement as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
/// <param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
public static TweenerCore<Vector3, Vector3, VectorOptions> DOMoveX(this VisualElement target, float endValue, float duration, bool snapping = false)
{
TweenerCore<Vector3, Vector3, VectorOptions> t
= DOTween.To(() => target.resolvedStyle.translate, x => target.style.translate = new Translate(x.x, x.y, x.z), new Vector3(endValue, 0, 0), duration);
t.SetOptions(AxisConstraint.X, snapping).SetTarget(target);
return t;
}
/// <summary>Tweens a VisualElement's Y position (via style.translate) to the given value.
/// Also stores the VisualElement as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
/// <param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
public static TweenerCore<Vector3, Vector3, VectorOptions> DOMoveY(this VisualElement target, float endValue, float duration, bool snapping = false)
{
TweenerCore<Vector3, Vector3, VectorOptions> t
= DOTween.To(() => target.resolvedStyle.translate, x => target.style.translate = new Translate(x.x, x.y, x.z), new Vector3(0, endValue, 0), duration);
t.SetOptions(AxisConstraint.Y, snapping).SetTarget(target);
return t;
}
/// <summary>Tweens a VisualElement's Z position (via style.translate) to the given value.
/// Also stores the VisualElement as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
/// <param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
public static TweenerCore<Vector3, Vector3, VectorOptions> DOMoveZ(this VisualElement target, float endValue, float duration, bool snapping = false)
{
TweenerCore<Vector3, Vector3, VectorOptions> t
= DOTween.To(() => target.resolvedStyle.translate, x => target.style.translate = new Translate(x.x, x.y, x.z), new Vector3(0, 0, endValue), duration);
t.SetOptions(AxisConstraint.Z, snapping).SetTarget(target);
return t;
}
/// <summary>Tweens a VisualElement's scale (via style.scale) to the given value.
/// Also stores the VisualElement as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static TweenerCore<Vector2, Vector2, VectorOptions> DOScale(this VisualElement target, Vector2 endValue, float duration)
{
TweenerCore<Vector2, Vector2, VectorOptions> t
= DOTween.To(() => (Vector2)target.resolvedStyle.scale.value, x => target.style.scale = new Scale(x), endValue, duration);
t.SetTarget(target);
return t;
}
/// <summary>Tweens a VisualElement's scale (via style.scale) to the given value.
/// Also stores the VisualElement as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static TweenerCore<Vector2, Vector2, VectorOptions> DOScale(this VisualElement target, float endValue, float duration)
{
TweenerCore<Vector2, Vector2, VectorOptions> t
= DOTween.To(() => (Vector2)target.resolvedStyle.scale.value, x => target.style.scale = new Scale(x), new Vector2(endValue, endValue), duration);
t.SetTarget(target);
return t;
}
/// <summary>Tweens a VisualElement's rotation (via style.rotate) to the given value.
/// Also stores the VisualElement as the tween's target so it can be used for filtered operations</summary>
/// <param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
public static TweenerCore<float, float, FloatOptions> DORotate(this VisualElement target, float endValue, float duration)
{
TweenerCore<float, float, FloatOptions> t
= DOTween.To(() => target.resolvedStyle.rotate.angle.value, x => target.style.rotate = new Rotate(x), endValue, duration);
t.SetTarget(target);
return t;
}
#endregion
#endregion
}
}
#endif
@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 0c0a6d2683fb84e4193f2aa968264881
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 27676
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModuleUIToolkit.cs
uploadId: 858678
@@ -12,4 +12,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModuleUnityVersion.cs
uploadId: 831234
uploadId: 858678
@@ -1,4 +1,4 @@
// Author: Daniele Giardini - http://www.demigiant.com
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2018/07/13
using System;
@@ -12,7 +12,7 @@ using DG.Tweening.Plugins.Options;
namespace DG.Tweening
{
/// <summary>
/// Utility functions that deal with available Modules.
/// Utility functions that deal with available Modules and rewrite them.
/// Modules defines:
/// - DOTAUDIO
/// - DOTPHYSICS
@@ -87,7 +87,7 @@ namespace DG.Tweening
// Called via DOTweenExternalCommand callback
public static void SetOrientationOnPath(PathOptions options, Tween t, Quaternion newRot, Transform trans)
{
#if false // PHYSICS_MARKER
#if !DOTWEEN_NOPHYSICS // PHYSICS_MARKER
if (options.isRigidbody) ((Rigidbody)t.target).rotation = newRot;
else trans.rotation = newRot;
#else
@@ -98,7 +98,7 @@ namespace DG.Tweening
// Returns FALSE if the DOTween's Physics2D Module is disabled, or if there's no Rigidbody2D attached
public static bool HasRigidbody2D(Component target)
{
#if false // PHYSICS2D_MARKER
#if !DOTWEEN_NOPHYSICS2D // PHYSICS2D_MARKER
return target.GetComponent<Rigidbody2D>() != null;
#else
return false;
@@ -115,7 +115,7 @@ namespace DG.Tweening
#endif
public static bool HasRigidbody(Component target)
{
#if false // PHYSICS_MARKER
#if !DOTWEEN_NOPHYSICS // PHYSICS_MARKER
return target.GetComponent<Rigidbody>() != null;
#else
return false;
@@ -131,7 +131,7 @@ namespace DG.Tweening
){
TweenerCore<Vector3, Path, PathOptions> t = null;
bool rBodyFoundAndTweened = false;
#if false // PHYSICS_MARKER
#if !DOTWEEN_NOPHYSICS // PHYSICS_MARKER
if (tweenRigidbody) {
Rigidbody rBody = target.GetComponent<Rigidbody>();
if (rBody != null) {
@@ -142,7 +142,7 @@ namespace DG.Tweening
}
}
#endif
#if false // PHYSICS2D_MARKER
#if !DOTWEEN_NOPHYSICS2D // PHYSICS2D_MARKER
if (!rBodyFoundAndTweened && tweenRigidbody) {
Rigidbody2D rBody2D = target.GetComponent<Rigidbody2D>();
if (rBody2D != null) {
@@ -12,4 +12,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModuleUtils.cs
uploadId: 831234
uploadId: 858678
@@ -8,4 +8,4 @@ AssetOrigin:
packageName: DOTween (HOTween v2)
packageVersion: 1.2.790
assetPath: Assets/Plugins/Demigiant/DOTween/readme.txt
uploadId: 831234
uploadId: 858678