Author Topic: Mouse Cursor tutorial  (Read 3469 times)

adam718

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 60
    • View Profile
Mouse Cursor tutorial
« on: October 31, 2012, 07:13:04 AM »
Hi Aren!
You said mouse cursor tutorial in http://forum.unity3d.com/threads/114833-NGUI-(Next-Gen-UI)-demo-amp-final-feedback-request
But I couldn't find it in 2.2.2.
Where can I find it?

Thank you.

adam718

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 60
    • View Profile
Re: Mouse Cursor tutorial
« Reply #1 on: October 31, 2012, 08:06:21 AM »
I made it using UICursor.
But moving cursor atlas is a little bit slower than a real cursor, isn't it?

1. Am I right to use UICursor for mouse cursor?
2. How can I fix that "slow" problem?
    There is no parameter to control it.

Thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Mouse Cursor tutorial
« Reply #2 on: October 31, 2012, 08:42:55 AM »
You can't "fix it" with NGUI. You need to use a hardware cursor or possibly OnGUI for the cursor if it's fast enough.

adam718

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 60
    • View Profile
Re: Mouse Cursor tutorial
« Reply #3 on: October 31, 2012, 08:45:31 AM »
Then could I know where UICursor is used?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Mouse Cursor tutorial
« Reply #4 on: October 31, 2012, 08:49:43 AM »
It's used in the inventory example to drag items around.