I have a script, that calculates Collider-positions and orientations dynamicly on mouse clicks and Instantiates Collider Objects. Is there a way to save these ColliderObjects, because they are created in play mode, they are only temporary, but i would like to save them somehow, so that i can access them in “not play mode” and are not deleted.
Or can i run the script in normal mode? How do i do this?
like here
(he uses a script to create a rock and a hill, that is executed in not play mode at 10:30 )
now that the script is executet in Edit Mode, the script won’t work, because the update function is not called. can i call it manually or what is the way to go?
Easiest way is to select them all in play mode(in the hierarchy) , Copy the objects, press stop and then paste them back in the new ones should have the colliders attached