fix: fix material for mesh sharing group

pull/289/head
mob-sakai 2023-12-23 19:23:20 +09:00
parent c6b816c312
commit 6126af9f37
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ namespace Coffee.UIExtensions
// Update animatable material properties.
Profiler.BeginSample("[UIParticleRenderer] Update Animatable Material Properties");
UpdateMaterialProperties();
if (!_parent.useMeshSharing)
if (_parent.useMeshSharing)
{
if (!_currentMaterialForRendering)
{