switching textures on mouseUp (C#)

Still trying to digest C#

I have plane with a texture

when I click on it, I want the texture to change back & forth between 2 images… Simple

So I set a bool
and it works (mouseUp detected)
What am I doing wrong?

using UnityEngine;
using System.Collections;

public class switchTexture1 : MonoBehaviour {

		public bool isButtonSelected = false;
		//The Textures you wish to use for swaping ( could use a Texture2D[] if you have lots)
		public Texture onTexture;
		public Texture offTexture;
		//The MeshRenderer of the object your trying to swap textures on
		public MeshRenderer currentRenderer;
		// Use this for initialization
		void Start () 
			//Find the MeshRenderer Component (could also use FindObjectOfType() )
			currentRenderer = this.GetComponent<MeshRenderer>();

	// Update is called once per frame
	void Update () 
		if(currentRenderer != null)
				currentRenderer.material.SetTexture("comikaze", onTexture);
				currentRenderer.material.SetTexture("comikaze_Shhhh", offTexture);

	void OnMouseUp()
			isButtonSelected = true;
			isButtonSelected = false;


Thanks in advance

Do you have “comikazee” and “comikaze_Shhhh” textures defined in your shader ? If this is not your intention use mainTexture instead. SetTexture has different function.