Add HideInTypeMenuAttribute

This commit is contained in:
Makihiro 2024-10-26 20:01:51 +09:00
parent b7d76fb0c5
commit 63d2d94953
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#if UNITY_2019_3_OR_NEWER
using System;
/// <summary>
/// An attribute that hides the type in the SubclassSelector.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
public sealed class HideInTypeMenuAttribute : Attribute {
}
#endif

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9f48f5d86a108b94a9c26381f5ce678c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: