1. Submit bugs to enter our 5.4 Beta Sweepstakes. Read more about it here.
  2. Unity 5.4 public beta is now available for all users. Grab the build and visit the 5.4 beta forum.
  3. Missing a module? More about the new installer in 5.3 here.
  4. 4.7.1 released for Xcode 7.3 support. Thread here.

User List with scrolling mouse event

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

  1. tikod

    tikod

    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

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

    tikod

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