How to solve Unity3d 4.2 problem with material(if you call it at script ...)

Hi
i Update my unity3d to 4.2 and i see a unusaly problem
if you call or use Renderer.material at your script
your Object material change to Instance of orginal material;

i want when i change option of my material (like older version)it work on Whole material (every material with name of body)

see my Photo :smiley: i take screen shot
before play


after play

my code >

using UnityEngine;
using System.Collections;

public class body_alpha : MonoBehaviour {
Public Material mymat;

void Update()
{
   mymat = renderer.material;
}
}

I found it we can Use Sharedmaterial at new version of unity3d