Add default constructor for PropertySpace attribute

This commit is contained in:
VladV 2022-06-06 19:40:28 +03:00
parent a45fde19d4
commit fb59bf9a77

View File

@ -11,6 +11,11 @@ namespace TriInspector
public float SpaceBefore { get; set; }
public float SpaceAfter { get; set; }
public PropertySpaceAttribute()
{
SpaceBefore = 7;
}
public PropertySpaceAttribute(float spaceBefore = 0, float spaceAfter = 0)
{
SpaceBefore = spaceBefore;