mirror of
				https://github.com/DerTyp7/grow-ai-unity.git
				synced 2025-11-03 22:38:59 +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);
 | 
						|
    }
 | 
						|
}
 |