Skip to content

Commit

Permalink
fix: fix material for mesh sharing group
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Dec 23, 2023
1 parent c6b816c commit 6126af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/UIParticleRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ public void UpdateMesh(Camera bakeCamera)
// Update animatable material properties.
Profiler.BeginSample("[UIParticleRenderer] Update Animatable Material Properties");
UpdateMaterialProperties();
if (!_parent.useMeshSharing)
if (_parent.useMeshSharing)
{
if (!_currentMaterialForRendering)
{
Expand Down

0 comments on commit 6126af9

Please sign in to comment.