Skip to content

Commit 1a0f1c3

Browse files
committed
Minor refactor changes
1 parent 9780ba0 commit 1a0f1c3

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

Assets/Editor Toolbox/Runtime/Attributes/Toolbox/DecoratorAttributes/EndGroupAttribute.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
namespace UnityEngine
55
{
6+
/// <summary>
7+
/// Use this attribute to close previously created <see cref="BeginGroupAttribute"/>.
8+
/// </summary>
69
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
710
[Conditional("UNITY_EDITOR")]
811
public class EndGroupAttribute : ToolboxDecoratorAttribute

Assets/Editor Toolbox/Runtime/Attributes/Toolbox/DecoratorAttributes/EndHorizontalAttribute.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
namespace UnityEngine
55
{
6+
/// <summary>
7+
/// Use this attribute to close previously created <see cref="BeginHorizontalAttribute"/>.
8+
/// </summary>
69
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
710
[Conditional("UNITY_EDITOR")]
811
public class EndHorizontalAttribute : ToolboxDecoratorAttribute

Assets/Editor Toolbox/Runtime/Attributes/Toolbox/DecoratorAttributes/EndHorizontalGroupAttribute.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
namespace UnityEngine
55
{
6+
/// <summary>
7+
/// Use this attribute to close previously created <see cref="BeginHorizontalGroupAttribute"/>.
8+
/// </summary>
69
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
710
[Conditional("UNITY_EDITOR")]
811
public class EndHorizontalGroupAttribute : EndHorizontalAttribute

Assets/Editor Toolbox/Runtime/Attributes/Toolbox/ToolboxDecoratorAttribute.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,9 @@ public abstract class ToolboxDecoratorAttribute : ToolboxAttribute
1212
/// </summary>
1313
public int Order { get; set; }
1414

15-
/// <summary>
16-
/// Indicates if decorator should be visible only if the target property is visible.
17-
/// </summary>
18-
[Obsolete("Feature not implemented. Decorators will be visible even if the target property is hidden.")]
19-
public bool HideWithProperty { get; set; }
20-
2115
/// <summary>
2216
/// Indicates if decorator should be created independly to state of the property.
23-
/// If <see cref="ApplyCondition"/> equals <see langword="true"/> it means that decorator will
17+
/// If <see cref="ApplyCondition"/> equals <see langword="true"/> it means that the decorator can be hidden/disabled same as an associated property.
2418
/// </summary>
2519
public bool ApplyCondition { get; set; }
2620
}

0 commit comments

Comments
 (0)