using System.Collections; using System.Collections.Generic; using UnityEngine; public class debugFindDisabler : MonoBehaviour { void OnDisable() { Debug.Log("Disabled", this); } void OnEnable() { Debug.Log("Enabled", this); } }