Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


order

Optional field to specify the order that multiple DecorationDrawers should be drawn in.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int order { get; set; }

Examples

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";}