| | |
| | | - _OcclusionStrength: 1 |
| | | - _Parallax: 0.02 |
| | | - _Slider: 81.39478 |
| | | - _SliderX: 75.0423 |
| | | - _SliderY: 0.045161847 |
| | | - _SliderX: 75.042274 |
| | | - _SliderY: 0.045135666 |
| | | - _SmoothnessTextureChannel: 0 |
| | | - _SpecularHighlights: 1 |
| | | - _SrcBlend: 1 |
| | |
| | | m_AnchorMin: {x: 0.5, y: 0.5} |
| | | m_AnchorMax: {x: 0.5, y: 0.5} |
| | | m_AnchoredPosition: {x: -57, y: 131} |
| | | m_SizeDelta: {x: 125, y: 98} |
| | | m_SizeDelta: {x: 160, y: 160} |
| | | m_Pivot: {x: 0.5, y: 0.5} |
| | | --- !u!114 &603291503 |
| | | MonoBehaviour: |
| | |
| | | m_OnCullStateChanged: |
| | | m_PersistentCalls: |
| | | m_Calls: [] |
| | | m_Sprite: {fileID: 21300000, guid: cdd61b08353647046973c95046b431fd, type: 3} |
| | | m_Sprite: {fileID: 21300000, guid: 737b8e86be9c2b747948a22b08ffc52c, type: 3} |
| | | m_Type: 0 |
| | | m_PreserveAspect: 0 |
| | | m_FillCenter: 1 |
| | |
| | | m_AnchorMin: {x: 0.5, y: 0.5} |
| | | m_AnchorMax: {x: 0.5, y: 0.5} |
| | | m_AnchoredPosition: {x: -57, y: 68} |
| | | m_SizeDelta: {x: 125, y: 98} |
| | | m_SizeDelta: {x: 160, y: 160} |
| | | m_Pivot: {x: 0.5, y: 0.5} |
| | | --- !u!114 &1210799406 |
| | | MonoBehaviour: |
| | |
| | | m_OnCullStateChanged: |
| | | m_PersistentCalls: |
| | | m_Calls: [] |
| | | m_Sprite: {fileID: 21300000, guid: 405815c3ad7760c4fa7f22681b011e42, type: 3} |
| | | m_Sprite: {fileID: 21300000, guid: 13c38a3aa8cdfeb4ba3374de8dfe5378, type: 3} |
| | | m_Type: 0 |
| | | m_PreserveAspect: 0 |
| | | m_FillCenter: 1 |
| | |
| | | m_AnchorMin: {x: 0.5, y: 0.5} |
| | | m_AnchorMax: {x: 0.5, y: 0.5} |
| | | m_AnchoredPosition: {x: -57, y: 4} |
| | | m_SizeDelta: {x: 125, y: 98} |
| | | m_SizeDelta: {x: 160, y: 160} |
| | | m_Pivot: {x: 0.5, y: 0.5} |
| | | --- !u!114 &1816194828 |
| | | MonoBehaviour: |
| | |
| | | m_OnCullStateChanged: |
| | | m_PersistentCalls: |
| | | m_Calls: [] |
| | | m_Sprite: {fileID: 21300000, guid: e4feb74c3c18cc348bb04adee456bf10, type: 3} |
| | | m_Sprite: {fileID: 21300000, guid: 4cc247f8baf250d459ae77a54e4602d2, type: 3} |
| | | m_Type: 0 |
| | | m_PreserveAspect: 0 |
| | | m_FillCenter: 1 |
| | |
| | | using TowerDefense.UI.HUD; |
| | | using UnityEngine; |
| | | using UnityEngine.AI; |
| | | using TowerDefense.Level; |
| | | |
| | | /// <summary> |
| | | /// 基于兵线的Agent Instance管理器 |
| | |
| | | // 这一行防止无限的循环下去。 |
| | | if (forceGet) return ag; |
| | | |
| | | Agent agLeft = GetMinDisAgent(lineid - 1, oppo, true, noPoison); |
| | | Agent agRight = GetMinDisAgent(lineid + 1, oppo, true, noPoison); |
| | | |
| | | agentTmpArr[0] = ag; |
| | | agentTmpArr[1] = agLeft; |
| | | agentTmpArr[2] = agRight; |
| | | |
| | | if (!EndlessLevelManager.instanceExists) |
| | | { |
| | | Agent agLeft = GetMinDisAgent(lineid - 1, oppo, true, noPoison); |
| | | Agent agRight = GetMinDisAgent(lineid + 1, oppo, true, noPoison); |
| | | |
| | | agentTmpArr[1] = agLeft; |
| | | agentTmpArr[2] = agRight; |
| | | } |
| | | else |
| | | { |
| | | agentTmpArr[1] = null; |
| | | agentTmpArr[2] = null; |
| | | } |
| | | |
| | | float minDis = 100000000f; |
| | | int idx = -1; |
| | |
| | | { |
| | | if (pos >= waveLineList.Count || waveLineList[pos] == null) return; |
| | | |
| | | int subone = pos - 1; |
| | | int addone = pos + 1; |
| | | |
| | | if (subone >= 0) |
| | | WaveLineFlash(subone); |
| | | // 无尽模式改为只有一条兵线 |
| | | WaveLineFlash(pos); |
| | | if (addone < waveLineList.Count) |
| | | WaveLineFlash(addone); |
| | | } |
| | | } |
| | |
| | | int guide = PlayerPrefs.GetInt("GemBattleGuide"); |
| | | GameConfig.IsNewbie = guide == 0; |
| | | |
| | | if (guide == 0) |
| | | if (GameConfig.IsNewbie) |
| | | { |
| | | Pause(); |
| | | uiStartMssk.gameObject.SetActive(false); |