- Home /
 
 
               Question by 
               11clock · Aug 23, 2016 at 07:39 AM · 
                c#gameobjectinstantiatelistdestroy  
              
 
              Store Game Object Into List For Later Reinstantiation?
I need to be able to store a game object on the scene into a list (destroying the original game object in the process) and then recreate that object from the list later in the game. I would like to ask how to do this exactly within a C# script.
For context, I am making a card game and would like to store a Card game object into a Deck game object's list, including destroying the stray Card, effectively putting the card in the deck.
               Comment
              
 
               
              Your answer