Deprecated API warning in Unity 2022.2
KichangKim opened this issue · 1 comments
KichangKim commented
Hi. I found that UIParticleSystem.cs makes deprecated API warning in Unity 2022.2.0b.
Main reason is this line (226):
#if UNITY_2020 || UNITY_2019
if (textureSheetAnimation.rowMode == ParticleSystemAnimationRowMode.Random)
#else
if (textureSheetAnimation.useRandomRow)
#endif
And this should be
#if UNITY_2019_1_OR_NEWER
if (textureSheetAnimation.rowMode == ParticleSystemAnimationRowMode.Random)
#else
if (textureSheetAnimation.useRandomRow)
#endif
Thanks.
SimonDarksideJ commented
Thanks for the suggestion, will get this addressed