Essential Attributes [ElementName]
Customize how array and list elements are named in the Unity Inspector — replace "Element 0" with meaningful labels like "Waypoint 0", "Enemy 1", and more.
by Foxal Face
Price History +
[ElementName] is a lightweight and powerful Unity attribute that improves the clarity of serialized arrays and lists by customizing how their elements are labeled in the Inspector.
Instead of generic labels like "Element 0", this attribute lets you define custom prefixes such as "Waypoint", "Step", or "SpawnPoint" — making your data more readable and accessible, especially for designers and large teams.
This is a purely editor-side enhancement and requires no runtime code. It’s perfect for improving workflow clarity without modifying any data structure.
Use it anywhere you have serialized arrays and want better context.