TH1/Unity/Assets/Scripts/TH1_UI/TechListMono.cs
2025-09-08 22:07:44 +08:00

30 lines
550 B
C#

using System.Collections;
using System.Collections.Generic;
using Logic.Action;
using UnityEngine;
public class TechListMono : MonoBehaviour
{
public List<TechType> TechList = new List<TechType>();
// 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;
}
}