Skip to content

Commit 01b6b72

Browse files
committed
Added the attribute option
1 parent 0b3a64d commit 01b6b72

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Runtime/Attributes/TypeOptionsAttribute.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ public class TypeOptionsAttribute : PropertyAttribute
5454
/// </summary>
5555
public bool ShortName = false;
5656

57+
/// <summary>
58+
/// If the dropdown shows built-in types, it will show them by their keyword names (int) instead of full names
59+
/// (System.Int32).
60+
/// </summary>
61+
public bool UseBuiltInTypeNames = true;
62+
5763
/// <summary>
5864
/// Determines whether the specified <see cref="Type"/> matches requirements set in the attribute.
5965
/// </summary>

0 commit comments

Comments
 (0)