mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
17 lines
322 B
C#
17 lines
322 B
C#
using TriInspector;
|
|
using UnityEngine;
|
|
|
|
public class Misc_ShowInInspectorSample : ScriptableObject
|
|
{
|
|
private float _field;
|
|
|
|
[ShowInInspector]
|
|
public float ReadOnlyProperty => _field;
|
|
|
|
[ShowInInspector]
|
|
public float EditableProperty
|
|
{
|
|
get => _field;
|
|
set => _field = value;
|
|
}
|
|
} |