This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
snakeinabox/Assets/NaughtyAttributes/Scripts/Test/OnValueChanged.cs
2020-07-09 11:41:01 -07:00

12 lines
255 B
C#

using UnityEngine;
public class OnValueChanged : MonoBehaviour
{
[NaughtyAttributes.OnValueChanged("OnValueChangedMethod")]
public int onValueChanged;
private void OnValueChangedMethod()
{
Debug.Log(this.onValueChanged);
}
}