1
NGUI 3 Support / How do I keep a UISprite from going off-screen?
« on: June 11, 2014, 03:17:35 AM »
Hello,
I have a UISprite which follows an NPC character (an "alerted" icon) and currently if I turn away from the NPC the UISprite goes off screen (because the character is now behind us).
But I would like to actually keep the UISprite on screen, just hugging and sliding along the sides of the screen rather than disappearing altogether. What would be the best way to achieve this behavior?
Thanks,
Seith
I have a UISprite which follows an NPC character (an "alerted" icon) and currently if I turn away from the NPC the UISprite goes off screen (because the character is now behind us).
But I would like to actually keep the UISprite on screen, just hugging and sliding along the sides of the screen rather than disappearing altogether. What would be the best way to achieve this behavior?
Thanks,
Seith