Compare commits

..

No commits in common. "23d2a439c42ae418c6bb691926c7a47e39ec72db" and "dfd199f101565b84f5d1590484d4c83eb1696f31" have entirely different histories.

1 changed files with 1 additions and 3 deletions

View File

@ -5,8 +5,6 @@ using System.Linq;
using Unity.Mathematics;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class TowerPlacementManager : MonoBehaviour
{
@ -156,7 +154,7 @@ public class TowerPlacementManager : MonoBehaviour
{
var comp = objScripts[i];
if (comp is not Renderer && comp is not Transform && comp is not MeshFilter && comp is not UIBehaviour)
if (comp is not Renderer && comp is not Transform && comp is not MeshFilter)
{
Destroy(comp);
}