feat: "[generated]" GameObjects on the hierarchy is disturbing

close #288
This commit is contained in:
mob-sakai
2024-01-23 23:01:45 +09:00
parent 5892df1ce1
commit f17ecafae7
3 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ namespace Coffee.UIParticleExtensions
customMat = new Material(baseMat)
{
name = $"{baseMat.name}_{id}",
hideFlags = HideFlags.HideAndDontSave,
hideFlags = HideFlags.DontSave | HideFlags.NotEditable,
mainTexture = texture ? texture : null
}
};