A game about forced loneliness, made by TACStudios
1using System;
2
3namespace UnityEditor.ShaderGraph.Drawing
4{
5 [AttributeUsage(AttributeTargets.Property)]
6 public class InspectableAttribute : Attribute
7 {
8 // String value to use in the Property name TextLabel
9 public string labelName { get; private set; }
10
11 // The default value of this property
12 public object defaultValue { get; private set; }
13
14 // String value to supply if you wish to use a custom style when drawing this property
15 public string customStyleName { get; private set; }
16
17 public InspectableAttribute(string labelName, object defaultValue, string customStyleName = "")
18 {
19 this.labelName = labelName;
20 this.defaultValue = defaultValue;
21 this.customStyleName = customStyleName;
22 }
23 }
24}