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 than I'm very sorry for wasting your time