LifecycleBehaviour Class
- Namespace
- SatorImaging.LifecycleManager
public class LifecycleBehaviour : MonoBehaviour
The "Update Manager" functionality with MonoBehaviour.destroyCancellationToken
support for Unity 2021.
- Inheritance
-
LifecycleBehaviour
Fields
Methods
- FixedUpdate()
Tip
Set
enabled
of this mono behaviour false and call this method explicitly in "manager of update managers" to manage multiple update managers execution order while keeping registered actions order.
- LateUpdate()
Tip
Set
enabled
of this mono behaviour false and call this method explicitly in "manager of update managers" to manage multiple update managers execution order while keeping registered actions order.
- Register(Action, CancellationToken, UnorderedActionList)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterFixedUpdate(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterFixedUpdateEarly(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterFixedUpdateFinalize(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterFixedUpdateInitialize(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterFixedUpdateLate(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterLateUpdate(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterLateUpdateEarly(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterLateUpdateFinalize(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterLateUpdateInitialize(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterLateUpdateLate(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterUpdate(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterUpdateEarly(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterUpdateFinalize(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterUpdateInitialize(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- RegisterUpdateLate(Action, CancellationToken)
If action is depending on instance that will be destroyed with cancellation token, You have to specify same token to unregister action together. If not, action will cause error due to depending instance is gone.
- Update()
Tip
Set
enabled
of this mono behaviour false and call this method explicitly in "manager of update managers" to manage multiple update managers execution order while keeping registered actions order.