TextStudioDefaultAttribute
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]public sealed class TextStudioDefaultAttribute : PropertyAttributeMarks a field with a recommended default. The default property drawer renders a small reset button next to the field; clicking it writes the default back via reflection.
Constructors
Section titled “Constructors”
TextStudioDefaultAttribute(object)
Section titled “TextStudioDefaultAttribute(object)”public TextStudioDefaultAttribute(object value)Declares the authoring default used when an effect parameter is omitted.
Parameters
| Name | Type |
|---|---|
value |
System.Object |
Properties
Section titled “Properties”
public object Value { get; }Returns
System.Object