Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit 2cdd165

Browse files
authored
Merge pull request #12 from AnnulusGames/v0.1.7
V0.1.7
2 parents 078cb46 + 13d6a38 commit 2cdd165

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

MagicTween/Assets/MagicTween/Runtime/Core/TweenLinkTrigger.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Collections.Generic;
2+
using MagicTween.Core;
23
using UnityEngine;
34

45
namespace MagicTween
@@ -38,6 +39,7 @@ void OnDisable()
3839
#if UNITY_EDITOR
3940
if (isQuittingPlayMode) return;
4041
#endif
42+
if (!TweenWorld.World.IsCreated) return;
4143
for (int i = 0; i < items.Count; i++)
4244
{
4345
var (tween, linkBehaviour) = items[i];
@@ -66,6 +68,7 @@ void OnDestroy()
6668
#if UNITY_EDITOR
6769
if (isQuittingPlayMode) return;
6870
#endif
71+
if (!TweenWorld.World.IsCreated) return;
6972
for (int i = 0; i < items.Count; i++)
7073
{
7174
var (tween, linkBehaviour) = items[i];

MagicTween/Assets/MagicTween/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.annulusgames.magic-tween",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"displayName": "Magic Tween",
55
"description": "Extremely fast tween library implemented in Unity ECS",
66
"unity": "2022.1",

MagicTween/ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ PlayerSettings:
133133
vulkanEnableLateAcquireNextImage: 0
134134
vulkanEnableCommandBufferRecycling: 1
135135
loadStoreDebugModeEnabled: 0
136-
bundleVersion: 0.1.6
136+
bundleVersion: 0.1.7
137137
preloadedAssets: []
138138
metroInputSource: 0
139139
wsaTransparentSwapchain: 0

0 commit comments

Comments
 (0)