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