2
\$\begingroup\$

I have done following thing.

  1. Create Material
  2. Attach sprite with texture type as Texture
  3. Add sprite renderer component to game object
  4. Assign material to it that I create in last steps

There is no sprite available for selection. Following image illustrate my problem correctly.

enter image description here

So my question in how to create sprite renderer with custom material?

\$\endgroup\$
1
  • \$\begingroup\$ The sprite needs to have texture type 'sprite', doesn't it? \$\endgroup\$ Feb 11, 2014 at 15:57

1 Answer 1

0
\$\begingroup\$

You must put a Sprite asset in the Sprite Renderer "Sprite" field. And you can assign any Material on "Material" field. You don't need to put a texture on the Material.

\$\endgroup\$
1
  • \$\begingroup\$ I get some knowledge from it. \$\endgroup\$
    – Siddharth
    Sep 15, 2014 at 15:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .