Closed atkdefender closed 3 years ago
The difference is that the OnEntityAdded
method is called immediately after the change happened. The Execute
method of the Reactive System is relative to the execution order you do yourself with Systems
or Feature
. I suggest to only use the group events if you really need it.
More infos: https://github.com/sschmid/Entitas-CSharp/wiki/Systems
The difference is that the
OnEntityAdded
method is called immediately after the change happened. TheExecute
method of the Reactive System is relative to the execution order you do yourself withSystems
orFeature
. I suggest to only use the group events if you really need it. More infos: https://github.com/sschmid/Entitas-CSharp/wiki/Systems
Ah...I forget ReactiveSys can react in order. Thx for reminding, before I went wrong.
I write some code below. Found that they looks like doing the same thing. If they are totally equal, I will write the shorter one ;)