I need to know ASAP for a project due soon on how to add existing material to objects directly by scripts. And unless someone can prove me wrong, don’t suggest me Resource.Load since Resource class doesn’t work for web deployed games.
cant you just get the renderer and add a materiel? Im not sure but thats how I change materials in my project.