Thanks for your reply . SetShaderParam is a method of the ShaderMaterial Class. How could I access this class by code ?
I would like to do something like :
ShaderMaterial shaderMaterial = GetShader(); (this line doesnt work)
shaderMaterial.SetShaderParam(...);