using UnityEngine; public sealed class LifecycleProbe : MonoBehaviour { private void Awake() { Debug.Log(name + ": Awake", this); } private void OnEnable() { Debug.Log(name + ": OnEnable", this); } private void Start() { Debug.Log(name + ": Start", this); } private void OnDisable() { Debug.Log(name + ": OnDisable", this); } private void OnDestroy() { Debug.Log(name + ": OnDestroy", this); } }