fix: `UIParticle.transform.localScale` does not scale particles
close #313
parent
65f7555482
commit
1f72048ef5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue