NaughtyAttributes
NaughtyAttributes copied to clipboard
[Request] Fixed size array inspector
An attribute for List or Array that forces the field into a fixed number of elements:
[SerializeField, ArraySize(5)] int[] _foo = default;
This would be a regular array inspector with a disabled "size" option and a locked number of elements.
Possible extension: min/max elements.