16 lines
334 B
C#
16 lines
334 B
C#
using PashaBibko.Pacore.Shared.Attributes;
|
|
using UnityEngine;
|
|
|
|
public class TestMonoBehaviour : MonoBehaviour
|
|
{
|
|
[InspectorReadOnly, SerializeField] private GameObject go;
|
|
|
|
[DetectInspectorChanges("OnTestChange")]
|
|
public int Test;
|
|
|
|
private void OnTestChange()
|
|
{
|
|
Debug.Log($"New value: {Test}");
|
|
}
|
|
}
|