32place
0 votes Vote

Number of objects per interation variable

RE: ObjectsPool.cs RepositionRoutine

I noticed that I was getting big profiler spikes in "Pool Instantiate", so I lowered the hard-coded objsPerIteration from 500 to 50 and it is smooth now.

It would be nice if we could adjust that variable in the editor.

Kevin Barnett , 12.07.2020, 12:10
Idea status: scheduled

Comments

Wraith, 12.07.2020, 13:59
sounds reasonable

Leave a comment