|
I'm trying to make a cursor that is basically the same as the Kinect hand cursor... So when you hover over something, the circle animates around the hand and when it's complete, a function will be called. I have a sprite sheet prepared, and also a movie texture, but haven't been able to get either to work. Maybe I'm using the wrong approach to begin with (Texture2D seems to cause problems in both cases). Any clues for me? Here's the code I have that works (just swaps one Texture2D for another). How would I make it show the animated cursor on hover?
(comments are locked)
|
|
I figured it out. Here is the working code, though I'm sure someone could write a more elegant version. I use a sprite texture that is 55 columns, one row.
(comments are locked)
|

Also not working: Droid 4