static Material FromShader( Shader shader )

Summary

Get an empty material based on the specified shader. This will cache the material so that subsequent calls will return the same material.

static Material FromShader( string path )

Summary

Get an empty material based on the specified shader. This will cache the material so that subsequent calls will return the same material.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.