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