mirror of
https://github.com/DerTyp7/grow-ai-unity.git
synced 2026-07-31 16:19:03 +02:00
added freetime etc
This commit is contained in:
15
Assets/Scripts/FreeTime/FreeTimeObject.cs
Normal file
15
Assets/Scripts/FreeTime/FreeTimeObject.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user