Hide Mono Script Attribute特性:用于隐藏Mono脚本在检查器中的显示
[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;
}