wangguan
2020-11-09 5d16d6e5172daf42d386baa5c09663b422f05a59
Assets/Scripts/TowerDefense/Towers/Placement/TowerPlacementGridEndless.cs
@@ -275,14 +275,23 @@
        public bool isFreeAtackPos(int x, int y)
        {
            if (m_AvailableCells[x, y])
            {
                return false;
            }
            if (m_arrGridType[x, y] == PlacementGridType.EGridOpen)
            {
                return true;
            }
            return false;
        }
        public void GetMeshRender(int x, int y, string name)
        {
            m_Tiles[x, y].gameObject.name = name;
        }
        /// <summary>
        /// 是否是等待购买的攻击塔位.
        /// </summary>