private void OnEnable() { if (scriptableEvent) { scriptableEvent.RegisterListener(this); } else { Destroy(this); } }