Unity3D: Sprite not appearing

Im creating a sprite like this:

Sprite.Create(myTexture,new Rect(0,0,myTexture.width,myTexture.height),new Vector2(1,1),100);

But the sprite is not appearing anywhere. What I’m doing wrong?


Short answer is that a Sprite is not a game object. Its just a component. You need to add it to a game object that also has a SpriteRenderer