unity convert sprite to texture2d code example Example: texture2d to sprite Sprite.Create(texture, rect, pivot);