User List with scrolling mouse event

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

  1. tikod

    tikod

    New Member

    Joined:
    Nov 30, 2010
    Messages:
    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

    Member

    Joined:
    Aug 25, 2010
    Messages:
    633
  3. tikod

    tikod

    New Member

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