so i have a unity script that i want to use on all of my colliders, but if i add it to all of them, it causes unity to freeze. so my plan is to create a method where i can 1 by one add them and wait maybe 1 or 2 frames then remove them and repeat that for every collider, totaling up to around 300 different colliders.
is there a way to:
- call the script to do something similar to a coroutine in the editor so i can have it pace itself as it iterates through every collider
- bring a progress bar so i can see how long it may take
long story short, i found a pretty decent polygon collider editor that allows me to auto update my colliders to be a bit closer to pixel perfect, but it really causes everything to crash if i dont pace it.