| | |
| | | Vector3 offset = Vector3.zero; |
| | | if (moveIndex == pathPointArr.Length - 1) |
| | | { |
| | | offset = new Vector3((pathPointArr.Length - workerIndex - 1) * 80, 0, 0); |
| | | offset = new Vector3((pathPointArr.Length - workerIndex - 1) * 70, 0, 0); |
| | | } |
| | | var endPos = nextPos - offset; |
| | | |
| | |
| | | } |
| | | GoldRushManager.Instance.SendGoldRushUnlock(0, campID); |
| | | refreshItemEffect.Play(); |
| | | SysNotifyMgr.Instance.ShowTip("GoldRush8"); |
| | | }); |
| | | |
| | | |
| | |
| | | |
| | | GoldRushManager.Instance.SendGoldRushUnlock(0, campID); |
| | | refreshItemEffect.Play(); |
| | | SysNotifyMgr.Instance.ShowTip("GoldRush8"); |
| | | } |
| | | } |
| | | |