- Home /
 
               Question by 
               jknight-nc · Jun 22, 2016 at 05:11 AM · 
                prefabprefab-instanceprefab changing at runtime  
              
 
              changing instantiated prefabs
Hello,
I have a BrickWall that contains many Bricks, but am having trouble changing the values of the Bricks since they were created using the Instantiate command. It seems as the new objects (with the Clone suffix to their name) are no longer linked to the Brick Prefab, and do not receive it's updated values after they are instantiated.
Here is more detail:
I used an Editor Script to create a Scene that has a BrickWall that contains many Bricks. I used a prefab to Instantiate the Bricks.
Now I would like to change the Masses of the Brick's rigidbodies.
Changing the Brick Prefab does nothing, since the Bricks are Instantiated and the Scene is already saved.
How can I change the Masses of these bricks without Rebuilding the BrickWalls?
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                