Welcome,
Guest
. Please
login
or
register
.
June 12, 2026, 02:05:25 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIDraggablePanel
« previous
next »
Print
Pages: [
1
]
Author
Topic: UIDraggablePanel (Read 5133 times)
xerx
Guest
UIDraggablePanel
«
on:
May 30, 2013, 02:02:39 AM »
Hi,
Is there a way i can simulate a swipe from within a code and not just by drag ?
i want to be able to set the draggable panel position manually,by script.
please let me know how can i do it.
Thanks
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UIDraggablePanel
«
Reply #1 on:
May 30, 2013, 03:04:00 PM »
Useful stuff sticky, skyrim UI.
Logged
wizardsmoke
Newbie
Thank You
-Given: 0
-Receive: 5
Posts: 40
Re: UIDraggablePanel
«
Reply #2 on:
May 30, 2013, 08:37:20 PM »
Use SpringPanel. For example:
SpringPanel
.
Begin
(
gameObject, transform
.
localPosition
+
offset, springStrength
)
;
SpringPanel moves the panel while adjusting the clipping such that the clipping stays in the same world position. Hope this helps.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIDraggablePanel