fix: `UIParticle.transform.localScale` does not scale particles

close #313
pull/318/head
mob-sakai 2024-06-18 17:48:08 +09:00
parent 54a4b1cdfd
commit 1d40e24c74
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ namespace Coffee.UIExtensions
/// </summary>
public Vector3 scale3DForCalc => autoScalingMode == AutoScalingMode.Transform
? m_Scale3D
: m_Scale3D.GetScaled(canvasScale);
: m_Scale3D.GetScaled(canvasScale, transform.localScale);
public List<ParticleSystem> particles => m_Particles;