Search Unity

  1. Engage, network and learn at Unite Austin 2017, Oct 3 - 5. Get your ticket today!
    Dismiss Notice
  2. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  3. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  6. Unity 2017.2 beta is now available for download.
    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:
    769
  3. tikod

    tikod

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