From 028c15cb0ce0ba4e6795bf5e0382a45bd778bcd6 Mon Sep 17 00:00:00 2001
From: Chris Danek <chris.danek@gmail.com>
Date: Mon, 20 May 2024 17:45:47 -0700
Subject: [PATCH] Update UIParticle.cs to change default scale to Vector3.one

Hello - We've had some missteps with the default scaling of the particle system. Our VFX designer designs the particles but doesn't realize the default scale on the script is 10, and so has to go and do a lot of work editing the coefficients in the system (multiplying them all by 10) to get the VFX prefab to be correctly scaled.

Propose: The default value for scaling is Vector3.one instead of 10f.
---
 Runtime/UIParticle.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Runtime/UIParticle.cs b/Runtime/UIParticle.cs
index a43c260..a28674b 100644
--- a/Runtime/UIParticle.cs
+++ b/Runtime/UIParticle.cs
@@ -58,7 +58,7 @@ namespace Coffee.UIExtensions
 
         [Tooltip("Particle effect scale")]
         [SerializeField]
-        private Vector3 m_Scale3D = new Vector3(10, 10, 10);
+        private Vector3 m_Scale3D = new Vector3(1, 1, 1);
 
         [Tooltip("Animatable material properties.\n" +
                  "If you want to change the material properties of the ParticleSystem in Animation, enable it.")]