using System.Collections; using System.Collections.Generic; using Logic.Action; using UnityEngine; public class TechListMono : MonoBehaviour { public List TechList = new List(); // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } public bool HasTech(TechType techType) { foreach(var t in TechList) if (t == techType) return true; return false; } }