mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 16:28:23 -05:00
14 lines
306 B
C#
14 lines
306 B
C#
|
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();
|
|||
|
}
|