Want to stop instantiating objects when timescale is set to zero

by Guru Moorthi   Last Updated October 18, 2019 15:13 PM - source

I have my enemies being instantiated from both left and right sides and I've used Time.timescale=0; for the pause menu script so whenever i pause my game everything stop other than the instantiating objects and when i resume the game all the instantiated objects come as bunch. I really need a solution.

Tags : unityscript

Related Questions

how to write a script for circular motion

Updated May 02, 2015 21:05 PM

how getComponent is implemented in c#

Updated March 05, 2018 13:13 PM