Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PropertyAttribute.order

public int order;

Description

Optional field to specify the order that multiple DecorationDrawers should be drawn in.

using UnityEngine;

public class Example : MonoBehaviour { [Space(10, order = 0)] [Header("Header with some space around it", order = 1)] [Space(40, order = 2)]

public string playerName = "Unnamed"; }