Updated #if filter inclusion to 2019_1_OR_Newer
resolves: - https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/411pull/413/head
parent
142582847b
commit
8004bcf39b
|
@ -223,7 +223,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
frame = Mathf.FloorToInt(frameProgress * textureSheetAnimation.numTilesX);
|
frame = Mathf.FloorToInt(frameProgress * textureSheetAnimation.numTilesX);
|
||||||
|
|
||||||
int row = textureSheetAnimation.rowIndex;
|
int row = textureSheetAnimation.rowIndex;
|
||||||
#if UNITY_2020 || UNITY_2019
|
#if UNITY_2019_1_OR_NEWER
|
||||||
if (textureSheetAnimation.rowMode == ParticleSystemAnimationRowMode.Random)
|
if (textureSheetAnimation.rowMode == ParticleSystemAnimationRowMode.Random)
|
||||||
#else
|
#else
|
||||||
if (textureSheetAnimation.useRandomRow)
|
if (textureSheetAnimation.useRandomRow)
|
||||||
|
|
Loading…
Reference in New Issue