Odin Inspector 系列教程 --- Label Wi
2019-10-09 本文已影响0人
su9257_海澜
Label Width Attribute:用于更改属性标签的宽度。

using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LabelWidthAttributeExample : MonoBehaviour
{
public int DefaultWidth;
[LabelWidth(50)]
public int Thin;
[LabelWidth(250)]
public int Wide;
}