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

close #313
mob-sakai 2024-06-18 17:48:08 +09:00
parent 65f7555482
commit 1f72048ef5
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,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;