ドキュメント

Unity Engine

Unity Engine

order

Optional field to specify the order that multiple DecorationDrawers should be drawn in.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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