Closed CLAXES closed 2 months ago
Mh isnt the pooling system do this?
Mh isnt the pooling system do this?
the monsterspawnarea system does not create a pool, it deletes the dead monster and then adds it again, which causes the game to freeze momentarily.
Try set pooling size in LiteNetLibIdentity component.
Did you try it?
I haven't tried it yet, I can look tonight.
Did you try it?
Yes when I did what you said it worked as I wanted thank you the subject can be closed.
Hello, I want the monster not to be deleted from the map when it dies, but only deactivated and then activated. This system works when I put the monster directly, but when I use the monster area, it deletes the monster and adds it again, which causes stuttering in the game. I want the monster to be loaded only once when entering the map, then I want it to be deactivated and activated, is there a simple method I can do this?