ZeroVR/ZeroPacientVR/Assets/FImpossible Creations/Shared Tools/Editor Tools/Property Attributes/FPD_HeaderAttribute.cs

20 lines
470 B
C#

using UnityEngine;
public class FPD_HeaderAttribute : PropertyAttribute
{
public string HeaderText;
public float UpperPadding;
public float BottomPadding;
public float Height;
public FPD_HeaderAttribute(string headerText, float upperPadding = 3f, float bottomPadding = 3f, int addHeight = 2)
{
HeaderText = headerText;
UpperPadding = upperPadding;
BottomPadding = bottomPadding;
Height = addHeight;
}
}