Version: 2021.2
public int order ;

描述

可选字段,用于指定多个 DecorationDrawer 应采用的绘制顺序。

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