If 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 this is not what you meant then please add more details to the question :)