Files
Pacore/Assets/TestMonoBehaviour.cs
2026-01-23 19:05:46 +00:00

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}");
}
}