A little trick

When you have several variables of the same type you can write them as follows:

[SerializeField]
float xValue, yValue, zValue = 0.01f;

and serialize them with a single directive.

Privacy & Terms