Skip to content

Commit 63d2d94

Browse files
committed
Add HideInTypeMenuAttribute
1 parent b7d76fb commit 63d2d94

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#if UNITY_2019_3_OR_NEWER
2+
using System;
3+
4+
/// <summary>
5+
/// An attribute that hides the type in the SubclassSelector.
6+
/// </summary>
7+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
8+
public sealed class HideInTypeMenuAttribute : Attribute {
9+
10+
}
11+
#endif

Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Runtime/HideInTypeMenuAttribute.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)