ifIf i understand it correctly you mean that during the game, game objects are created and put in your hierarchy. if that is the case, then you only have to script something that will delete the game object after a certain time. if
If this is not what you meant than I'm very sorry for wasting your timethen please add more details to the question :)