Odin|Odin Inspector 系列教程 --- Hide Mono Script Attribute

【Odin|Odin Inspector 系列教程 --- Hide Mono Script Attribute】Hide Mono Script Attribute特性:用于隐藏Mono脚本在检查器中的显示
Odin|Odin Inspector 系列教程 --- Hide Mono Script Attribute
文章图片
[CreateAssetMenu(fileName = "HideMonoScript_ScriptableObject", menuName = "CreatScriptableObject/HideMonoScript")] [HideMonoScript] public class HideMonoScript : ScriptableObject { public string Value; }

using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "ShowMonoScript_ScriptableObject", menuName = "CreatScriptableObject/ShowMonoScript")] public class ShowMonoScript : ScriptableObject { public string Value; }

更多教程内容详见:革命性Unity 编辑器扩展工具 --- Odin Inspector 系列教程

    推荐阅读