- berry harvester appears on bush tiles - change berry resource for food instead - some structural change to reduce bugs
17 lines
401 B
C#
17 lines
401 B
C#
using static Enum;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// a data class for the harvesters
|
|
/// </summary>
|
|
[System.Serializable]
|
|
public class HarvesterResourcePair
|
|
{
|
|
[SerializeField]
|
|
private GameObject _harvesterPrefab;
|
|
[SerializeField]
|
|
private ResourceNodeType _resource;
|
|
|
|
public GameObject HarvesterPrefab => _harvesterPrefab;
|
|
public ResourceNodeType Resource => _resource;
|
|
} |