mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
18 lines
445 B
C#
18 lines
445 B
C#
using System;
|
|
using System.Diagnostics;
|
|
|
|
namespace TriInspector
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
|
|
[Conditional("UNITY_EDITOR")]
|
|
public class TitleAttribute : Attribute
|
|
{
|
|
public string Title { get; }
|
|
public bool HorizontalLine { get; set; } = true;
|
|
|
|
public TitleAttribute(string title)
|
|
{
|
|
Title = title;
|
|
}
|
|
}
|
|
} |