I've created an endless game where there are instantiated many prefabs.I need to delete objects that player has passed some steps ago.I think the solution is to delete first 20 objects in editor,but I don't know how to write script for that,PLEASE HELP!!!!!
↧