Skip to content

🐚 A simple script that recursively loops through all the nested gameobjects inside a model in Unity and saves all the materials on SkinnedMeshRenderer and MeshRenderer components in an array to reapply later

Notifications You must be signed in to change notification settings

3dln/material_changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material Changer

🐚 A simple script to change all the materials on a game object and all of its children and save to reapply them again

Used assets from asset store:

No matter how many nested gameobjects your model have and how the materials has been applied to them this simple scripts reads and holds a reference to all of them for swapping your models materials.

Alt text

About

🐚 A simple script that recursively loops through all the nested gameobjects inside a model in Unity and saves all the materials on SkinnedMeshRenderer and MeshRenderer components in an array to reapply later

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published