Change rotation of texture on material in Unity 5

Hello,
before Unity 5 I was using material.SetMatrix method to change rotation of a texture on material like explained here Unity - Scripting API: Material.SetMatrix

But now when i put matrix in my shaders Pass i get this error:
Fixed function texture matrix ‘_Rotation’ used; they don’t do anything now

What is a proper way to change rotation of a texture on material as of Unity 5 ?

material.SetFloat(“_Rotation”, rotationValue);