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

close #313
pull/336/head
mob-sakai 2024-06-18 17:48:08 +09:00
parent 5c28e9a2f3
commit cc3e95d8c7
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;