Gets unique identifier for a shader property name.
_MainTex
or _Color
) is assigned an unique
integer number in Unity, that stays the same for the whole game. The numbers will not be the same between different runs of the game or between machines, so do not store them or send them over network.See Also: Material, MaterialPropertyBlock.