Skip to content

Unity Editor script to make changing materials on an object & its children much quicker.

License

Notifications You must be signed in to change notification settings

NotAKidoS/QuickMaterialSwap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QuickMaterialSwap

Unity Editor script to make changing materials on an object & its children much quicker.

I built this script to make swapping materials on ChilloutVR avatars much easier.

Sort by GameObjects Sort by Shared Materials
image image

How to Use

  • Open Unity and navigate to the "NotAKid" menu in the top menu bar.

  • Select "Quick Material Swap" to open the Quick Material Swap window.

  • In the "Selected Object" field, select the GameObject whose materials you want to view and edit.

  • The script will automatically display all the materials used by the selected GameObject and its children in a list.

  • Changing a material in the list will automatically change the material for any GameObject that used it.

  • Changes are properly recorded using Unity's Undo System and can be undone using CTRL+Z.

  • Once you're done editing the materials, you can close the Material Editor window.


Here is the block of text where I tell you it's not my fault if you're bad at Unity.

Use of this Unity Script is done so at the user's own risk and the creator cannot be held responsible for any issues arising from its use.