Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: GLeBaTi on October 01, 2014, 02:07:02 AM
Title:
Change cursor while executing
Post by:
GLeBaTi
on
October 01, 2014, 02:07:02 AM
Hello. This is my code:
void
OnButtonProduceClick
(
)
{
cursor
.
SetBusyCursor
(
)
;
done
=
Helper
.
WaitForRequestDone
(
operationRequestCode
)
;
...
}
public
void
SetBusyCursor
(
)
{
UICursor
.
Set
(
UIVAtlas, busyCursor
)
;
UICursor
.
instance
.
uiCamera
.
Render
(
)
;
}
But cursor set to "busy"
only when
first code gone to the end. (when update)