void Update() { // 進入Slave狀態後,會暫停輸入3秒 // if (Time.unscaledTime - disableInputFrom < 3.0f) return; ProcessFingers(); ProcessKeys(); ProcessMouse(); if ((taiwanMap.newPos != taiwanMap.prevPos) || (taiwanMap.rangeScale != taiwanMap.prevScale)) { messageBroker.MoveMapPosition(); troopManager.redrawTroops = true; } }