Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - GLeBaTi

Pages: [1]
1
NGUI 3 Support / Change cursor while executing
« on: October 01, 2014, 02:07:02 AM »
Hello. This is my code:
  1. void OnButtonProduceClick()
  2. {
  3. cursor.SetBusyCursor();
  4. done = Helper.WaitForRequestDone (operationRequestCode);
  5. ...
  6. }
  1. public void SetBusyCursor()
  2.     {
  3.         UICursor.Set(UIVAtlas, busyCursor);
  4.         UICursor.instance.uiCamera.Render();
  5.     }

But cursor set to "busy" only when first code gone to the end. (when update)

Pages: [1]