1. Unity 5.6 is now released.
    Dismiss Notice
  2. We've introduced thread tags, search within a thread and similar thread search. Read more here.
    Dismiss Notice
  3. Learn how you'll soon be able to publish your games to China in four simple steps with Xiaomi. Sign up now for early access.
    Dismiss Notice
  4. Get further faster with the Unity Plus Accelerator Pack, free for new Unity Plus subscribers for a limited time. Click here for more details.
    Dismiss Notice
  5. The launcher is currently pulling earlier versions of the content packages which may have errors, see post.
    Dismiss Notice
  6. We've released our first Timeline Experimental Preview, our new tool for creating cutscenes and more! To check it out click here.
    Dismiss Notice
  7. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice

User List with scrolling mouse event

Discussion in 'Extensions & OnGUI' started by tikod, Feb 16, 2011.

  1. tikod

    tikod

    Joined:
    Nov 30, 2010
    Posts:
    19
    Hello,

    I'm trying to make a user list with a vertical scrollbar. It's easy if I use the function OnGUI. But how can I detect a mouse hover event on an element of my list? (GUI.Button only return mouse click....:-|).

    I suppose I have to use guiTexture guiText object, but I don't find how can I create a scrolling window ? Is it possible that a guiTexture became the mask of another guiTexture?

    Thanks
     
  2. GibTreaty

    GibTreaty

    Joined:
    Aug 25, 2010
    Posts:
    760
  3. tikod

    tikod

    Joined:
    Nov 30, 2010
    Posts:
    19
    Last edited: Feb 17, 2011