How to set a sprite on the sprite/default shader?

Total noob question here…Sorry.

But when I create a new material and set the shader to sprite/default, I am not able to select a sprite sheet. I am looking to do something similiar to ExplosionParticle material in the 2D example project. Any suggestions?

Ok, I figured it out.

I add the image as a texture for a Default Diffuse shader. Then I change the shader to Sprites/Default.

Doesn’t seem very intuitive, but it works.

With script you can:

	public Sprite alpha;
	// Use this for initialization
	void Start () {
		gameObject.GetComponent<MeshRenderer>().material.mainTexture = alpha.texture;
	}