Exemplo n.º 1
0
 public void OnPointerExit(PointerEventData eventData)
 {
     if (ButtonColors.dragCursor)
     {
         BerryCursor cursor = new BerryCursor();
         cursor.cursorTex  = Resources.Load <Texture2D>("BerrySystem/UI/cursors/drag_up");
         cursor.pos        = new Vector2(0, 0);
         cursor.cursorMode = CursorMode.Auto;
         UiManager.SetCursorTexture(cursor, true);
     }
     signalState(5);
     switchColor(2, ButtonColors.normalColor);
 }