wangguan
2020-11-23 e70a047e1d3a3b476212d49714264cf6871cd9fc
Assets/Scripts/TowerDefense/UI/EndlessScoreManager.cs
@@ -191,9 +191,7 @@
            Image obj = Instantiate(OneTimeKillObj);
            obj.transform.SetParent(GameObject.Find("Panel").transform, false);
            obj.sprite = Resources.Load<Sprite>($"UI/DoubleHit/hit_{count}");
            Animator animator = obj.GetComponent<Animator>();
            AnimatorClipInfo[] animatorClipInfos = animator.GetCurrentAnimatorClipInfo(0);
            Destroy(obj.gameObject, animatorClipInfos[0].clip.length);
            Destroy(obj.gameObject, 0.59f);
        }
        private void OnShowOneTimeKillComplete()