1
NGUI 3 Support / Change cursor while executing
« on: October 01, 2014, 02:07:02 AM »
Hello. This is my code:
But cursor set to "busy" only when first code gone to the end. (when update)
- 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)
