mirror of
https://github.com/DerTyp7/grow-ai-unity.git
synced 2025-10-30 21:07:09 +01:00
16 lines
325 B
C#
16 lines
325 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public abstract class FreeTimeObject : MonoBehaviour
|
|
{
|
|
[Header("FreeTime Object")]
|
|
[SerializeField] string FreeTimeObjectName;
|
|
[SerializeField] City city;
|
|
|
|
private void Awake()
|
|
{
|
|
city.AddFreeTimeObject(this);
|
|
}
|
|
}
|