Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Drawing a cirle

Discussion in 'Scripting' started by flash, Aug 22, 2008.

  1. flash

    flash

    Joined:
    Jan 26, 2008
    Posts:
    54
    Is there a way to draw a circle on a GUI texture? I would like to draw it in script and then manipulate it (i.e. size, shape, color, etc) vice create a circle in Photoshop and then import it. Is this possible?

    Thanks

    Flash
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Yes, use SetPixel() and make some kind of circle drawing routine.

    --Eric
     
  3. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768