Tri-Inspector/Editor.Samples/Styling/Styling_LabelTextSample.cs

14 lines
306 B
C#
Raw Normal View History

using System;
using TriInspector;
using UnityEngine;
public class Styling_LabelTextSample : ScriptableObject
{
[LabelText("Custom Label")]
public int val;
[LabelText("$" + nameof(DynamicLabel))]
public Vector3 vec;
public string DynamicLabel => DateTime.Now.ToShortTimeString();
}