You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-14 20:20:06 +00:00
fix: lost Material.mainTexture when using AnimatableProperties
close #311
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Coffee.UIParticleExtensions
|
|||||||
{
|
{
|
||||||
name = $"{baseMat.name}_{id}",
|
name = $"{baseMat.name}_{id}",
|
||||||
hideFlags = HideFlags.DontSave | HideFlags.NotEditable,
|
hideFlags = HideFlags.DontSave | HideFlags.NotEditable,
|
||||||
mainTexture = texture ? texture : null
|
mainTexture = texture ? texture : baseMat.mainTexture
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
s_Entries.Add(e);
|
s_Entries.Add(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user