Add a blank line between two attributes or two specific attributes?

Hi!

How would you add a blank line between the [Header()] tag and [SerializeField] ?

[Header("Title")]
[SerializeField]
private float number = 2.0f;

The correct form being : 

[Header("Title")]

[SerializeField]
private float number = 2.0f;
2 comments
Comment actions Permalink

Hi there, I'm having the same need as it is the coding convention used at my new workplace.

Hope it'll get an answer soon!

0
Comment actions Permalink

Hello Wendy,

The answer was already given here.
At the moment there is no such rule, but we have this feature request on our tracker. We would appreciate it if you could upvote the issue to demonstrate additional interest.

Have a great day!

0

Please sign in to leave a comment.