Unity 5 Color alpha Bug?

Hi everyone! I’m gonna make alpha of text color alternates between 1 and 0 (text fade in and out). here is the script I made

Text touch;
	Color color;
	float duration = 1f,b;

	void Start(){
		touch = GameObject.Find ("TouchToStart").GetComponent<Text>();
		color = touch.material.color;
	}

	void Update(){
		b = Mathf.PingPong (Time.time, duration) / duration;
		color.a = b;
		touch.material.color = color;

	}

I have 2 Text GameObjects which are: Title and TouchToStart. When I put the script and play, both Title and TouchToStart starts to alternate alpha instead of just TouchToStart. I don’t get it. please help me. Thank you

I believe this is because the components are sharing a material. It’s a little unclear because according to the Renderer.material documentation, referencing the material property (rather than sharedMaterial) will clone the material so it’s unique to that object. But it appears that referencing material on a UI component doesn’t clone it?

So if you want different properties you would need to assign a new material instance.