Closed hyjhkt closed 1 month ago
Can you elaborate, please? TimerEventHook doesn't have an option to replicate.
@SDGNelson If a component with TimerEventHook is disabled after selecting a loop, the timing of TimerEventHook will not be stopped. The canceltimer method cannot end the loop
Are you sure? It only starts the next coroutine if gameObject.activeInHierarchy is true, so disabling should also stop it. I also double-checked by connecting TimerEventHook to ActivationEventHook.OnEnabled, and when disabling the gameObject the looping timer stopped.
Closing but feel free to comment and I will re-open.
If TimerEventHook is checked and 'should replicate' is selected when other hooks call 'canceltimer', and if an object with TimerEventHook is deactivated and cannot stop timing