Ejemplo n.º 1
0
 void Update()
 {
     if (isPointerOn)
     {
         Cursors.SetMapOrderCursor();
     }
 }
Ejemplo n.º 2
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     if (Controls.Selection.selectedUnits.Count > 0 && Controls.Selection.selectedUnits[0].data.hasMoveModule)
     {
         isPointerOn = true;
         Cursors.SetMapOrderCursor();
     }
 }