Working with shaders.The material is updated only after clicking in the Unity editor

Hi all, when developing the application faced with a problem: when I change the properties of the Shader programmatically MixedRealityToolkit / Standard in play mode changes do not occur, but after a simple click on it with the mouse applied. Can who met with such problem? I attach a video link () and part of the code in C#. Sorry for my English, I use google.

Sign In or Register to comment.