ChensHelpers
Chen.Helpers.GeneralHelpers
MaterialController Class
A controller for materials so that properties can be inspected and modified.
Attach this component to a Game Object and let it do its magic.
It will attempt to find the correct shader controller from the Renderer’s material, attach the said shader controller if found.
After the proper shader controller is found, this component will destroy itself.
public class MaterialController
Inheritance UnityEngine.MonoBehaviour 🡒 MaterialController