From 6948c98f15be5e7bb7c3aff8b6c582f9674ebeb8 Mon Sep 17 00:00:00 2001 From: mob-sakai Date: Tue, 21 Sep 2021 16:45:59 +0900 Subject: [PATCH] feat: enable "shrink by material" option as default --- Scripts/UIParticle.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/UIParticle.cs b/Scripts/UIParticle.cs index 508c8db..90a4c75 100755 --- a/Scripts/UIParticle.cs +++ b/Scripts/UIParticle.cs @@ -32,8 +32,8 @@ namespace Coffee.UIExtensions [Tooltip("Particles")] [SerializeField] private List m_Particles = new List(); - [Tooltip("Shrink rendering by material on refresh.\nNOTE: Performance will be improved, but in some cases the rendering is not correct.")] [SerializeField] - bool m_ShrinkByMaterial = false; + [Tooltip("Shrink rendering by material on refresh.\nNOTE: This option will improve canvas batching and performance, but in some cases the rendering is not correct.")] [SerializeField] + private bool m_ShrinkByMaterial = true; #if !SERIALIZE_FIELD_MASKABLE [SerializeField] private bool m_Maskable = true;