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

@@ -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) {