Shader property shared between materials

Sorry I cannot find how to setup a property that, once changed on one material, every other material using that shader gets that property the same value.
----
Edit: I think that what I need is a Global property but, by setting the value using Unity Script like this:
materialInstance.SetVector("_PlayerPosition", _transform.position);
doesn't do anithing.
Can you help me?
----
Edit: I think that what I need is a Global property but, by setting the value using Unity Script like this:
materialInstance.SetVector("_PlayerPosition", _transform.position);
doesn't do anithing.
Can you help me?