Public variables with the same name in the same script

Hi! I have a script Consts, and I want it to display that in the Unity UI:

---------Constants.cs-----

Player's consts...
moveSpeed  5
rot Speed 6

Enemy's consts...
moveSpeed  4
rot Speed 6
----------------------------

I tried to put them in classes, then add to Consts, but it still visibly separates variables by scripts.
Is there a way to keep them all in 1 script, but somehow divide (for ex. with a sctruct)?

I solved it by serializing structs

public class Constants : MonoBehaviour

{
	[Serializable]
	public struct PlayerStats
    {
        public float moveSpeed;
		public float rotationSpeed;
		public float timeBetweenShots;
		public float fireForce;
        public int hitPoints;
        public bool hasHealthPotion;
    }
	[SerializeField]
    public PlayerStats playerStats;

and it folds in a pretty way! better than using [Header("...")]