- Odin Inspector 系列教程 --- Label Wi
- Odin Inspector 系列教程 --- Label Te
- Odin Inspector 系列教程 --- 自定义Odin序
- Odin Inspector 系列教程 --- Odin Sta
- Odin Inspector 系列教程 --- RoadMap(
- Odin Inspector 系列教程 --- Foldout
- Odin Inspector 系列教程 --- Vertical
- Odin Inspector 系列教程 --- Responsi
- Odin Inspector 系列教程 --- Preview
- Odin Inspector 系列教程 --- Horizont
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;
}
网友评论