I am recently started working with Unity3D, I am working with Unity3D version 5.3.0;
I have sprite object in my application, currently I am importing image and converting its texture type from texture to sprite. and the manually liking it with sprite renderer of my sprite object.
I want to change sprite (2D texture) in sprite renderer at the runtime. and the texture file (png image) is stored on my server.
using www class I can download it in a texture file but the question is, How i can convert the texture type from texture to sprite before assigning it to sprite?