Can I get this to be a circular shape ?
Image UserAvatar = UIFBAvatar.GetComponent<Image>();
UserAvatar.sprite = Sprite.Create (result.Texture, new Rect (0,0,128, 128), new Vector2 (0,0));
Can I get this to be a circular shape ?
Image UserAvatar = UIFBAvatar.GetComponent<Image>();
UserAvatar.sprite = Sprite.Create (result.Texture, new Rect (0,0,128, 128), new Vector2 (0,0));
Wouldn’t be too much, use a sprite from an atlas or you need to modify the pixels.
Would be easier and better to use an atlas.
result.Texture would be what you would have to modify if you wanted to modify the pixels.