liuzhiwei
2020-11-12 18f96c9313bf24d2296e615f44fc0ca005f2e872
Assets/Scripts/TowerDefense/Towers/TowerLevel.cs
@@ -1,6 +1,7 @@
using System.Collections.Generic;
using ActionGameFramework.Health;
using Core.Health;
using KTGMGemClient;
using TowerDefense.Affectors;
using TowerDefense.Towers.Data;
using TowerDefense.UI.HUD;
@@ -143,14 +144,6 @@
        Vector3 normalScale;
        private Vector3 fireScale = new Vector3(1.92f, 1.92f, 2.208f);
        private Vector3 woodScale = new Vector3(1.5f, 1.5f, 2.82f);
        private Vector3 waterScale = new Vector3(1.0f, 1.0f, 1.88f);
        private Vector3 fireOffectp = new Vector3(0f, 0f, -0.15f);
        private Vector3 woodOffectp = new Vector3(0.08f, 0f, 0.2f);
        private void Awake()
        {
            mat = transform.Find("Cube");
@@ -192,14 +185,14 @@
            if (transform.name.StartsWith("GrowUpTower"))
            {
                //火元素
                mat.localScale = fireScale;
                mat.localPosition = fireOffectp;
                mat.localScale = GameConfig.fireScale;
                mat.localPosition = GameConfig.fireOffectp;
            }
            else if (transform.name.StartsWith("BlinkTower"))
            {
                //木元素
                mat.localScale = woodScale;
                mat.localPosition = woodOffectp;
                mat.localScale = GameConfig.woodScale;
                mat.localPosition = GameConfig.woodOffectp;
            }
            else if (transform.name.StartsWith("CopyCatTower"))