From 17274b3ad49b76ccbc95faaadd90f63ed57a1f64 Mon Sep 17 00:00:00 2001 From: "Simon (darkside) Jackson" <darkside@zenithmoon.com> Date: Sat, 31 Oct 2020 15:51:46 +0000 Subject: [PATCH] Patch fix Unity 2019 --- Runtime/Scripts/Effects/UIParticleSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Scripts/Effects/UIParticleSystem.cs b/Runtime/Scripts/Effects/UIParticleSystem.cs index 16a4e6e..b9c4981 100644 --- a/Runtime/Scripts/Effects/UIParticleSystem.cs +++ b/Runtime/Scripts/Effects/UIParticleSystem.cs @@ -223,7 +223,7 @@ namespace UnityEngine.UI.Extensions frame = Mathf.FloorToInt(frameProgress * textureSheetAnimation.numTilesX); int row = textureSheetAnimation.rowIndex; -#if UNITY_2020 || UNITY_2019_OR_NEWER +#if UNITY_2020 || UNITY_2019 if (textureSheetAnimation.rowMode == ParticleSystemAnimationRowMode.Random) #else if (textureSheetAnimation.useRandomRow)