IndentProperty Attribute
Attrtibute to indent a property in the inspector
- Parameters:
optional,
floatindentLevel: The amount to indent by in pixels
Example:
using UnityEngine;
using EditorAttributes;
public class AttributesExample : MonoBehaviour
{
[SerializeField, IndentProperty] private int intField;
[SerializeField, IndentProperty(30f)] private float floatField;
[SerializeField, IndentProperty(50f)] private string stringField;
}