Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Are all resetState commands called before all new commands?

$
0
0
I have multiple EntityEventListener components for a Bolt state for the same Entity. Each deals with its relevant state properties (one for movement, one for weapons, etc.). Can I be sure that when I'm executing a command in one of them, that all of the values are up to date in the others? Sometimes they need to reference values that are "reset" by other components. Is this an accepted way of doing things?

Viewing all articles
Browse latest Browse all 15755

Latest Images

Trending Articles



Latest Images