Actual cleanup

This commit is contained in:
Ader Alisma 01 2025-06-29 17:48:43 -04:00
parent 73a9231845
commit d74647054a
2 changed files with 0 additions and 36 deletions

View File

@ -1,25 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class DeselectedAction : MonoBehaviour, IDeselectHandler
{
private GameObject _allyUpgrade;
public void Init(GameObject allyUpgrade)
{
_allyUpgrade = allyUpgrade;
}
public void OnDeselect(BaseEventData eventData)
{
//GameObject selectedObject = EventSystem.current.currentSelectedGameObject;
//Debug.Log("DeselectedAction called on: " + selectedObject?.name);
//if (selectedObject != null && selectedObject.transform.IsChildOf(_allyUpgrade.transform))
//{
// return;
//}
//Debug.Log("Called to deselect");
//Destroy(_allyUpgrade);
}
}

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: d1349fced40ce3242ab17aa6328d25b8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: