A way to ensure that engine will run at the end of submisson? #85
Answered
by
sebas77
RadekOlenski
asked this question in
Q&A
-
Hey, is there any way to ensure that IReactOnRemoveEx for some component will happen at the very end of submisson? The thing is that I need to dispose some arrays/dictionaries when destroying entities, but if it happens before other remove engines they operates on disposed memory. Or maybe there is a better way to handle Dispose that in remove react engines? |
Beta Was this translation helpful? Give feedback.
Answered by
sebas77
Sep 16, 2022
Replies: 1 comment 6 replies
-
I think what you need is to use the interface IReactOnSubmission. The call back is called once per engine at the end of the whole submission. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
RadekOlenski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think what you need is to use the interface IReactOnSubmission. The call back is called once per engine at the end of the whole submission.