Search Unity

Detatch material from game object

Discussion in 'Editor & General Support' started by NickWinters, Dec 24, 2014.

  1. NickWinters

    NickWinters

    Joined:
    Dec 6, 2014
    Posts:
    23
    I have multiple game objects that I've added to a scene, and assigned them all the same material. How do I detatch the material from a single game object and reset it to the default material without affecting all the other game objects?

    Thank you.
     
  2. wizardious

    wizardious

    Joined:
    Dec 31, 2009
    Posts:
    189
    Maybe this is to simple an answer, but you should just be able to create a new material for the game object you want to change and drag it (just under "add component" on my example) onto the material of the original material. Oh ya, you might run into trouble if the object is a child of a parent object, not sure. (edit) no, I tried the parent/child thing, and it didn't seem to matter.
     
    Last edited: Dec 31, 2014