You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-14 20:20:06 +00:00
3.0.0-preview.21
# [3.0.0-preview.21](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.20...v3.0.0-preview.21) (2020-08-28) ### Bug Fixes * if in the mask, rendering material will be destroyed ([0db40cf](0db40cf160)) * support animatable material property (again) ([cf6ca80](cf6ca80d12))
This commit is contained in:
@@ -205,6 +205,11 @@ namespace Coffee.UIExtensions
|
||||
|
||||
if (m.vertexCount == 0)
|
||||
MeshHelper.DiscardTemporaryMesh();
|
||||
else
|
||||
{
|
||||
var index = MeshHelper.activeMeshIndices.BitCount() - 1;
|
||||
particle.UpdateMaterialProperties(r, index);
|
||||
}
|
||||
}
|
||||
|
||||
// Bake trails particles.
|
||||
|
||||
Reference in New Issue
Block a user