30 lines
550 B
C#
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;
|
|
}
|
|
}
|