// When the object is enabled, you must immediately add it to the channel private void OnEnable() { _event.RegisterListener(this); }
// Start is called before the first frame update void Start() { RotationEvent.RegisterListener(Rotate); }
// When the object is enabled, you must immediately add it to the channel private void OnEnable() { _event.RegisterListener(this); }
// Start is called before the first frame update void Start() { RotationEvent.RegisterListener(Rotate); }