mirror of
				https://github.com/DerTyp7/grow-ai-unity.git
				synced 2025-10-31 05:17:08 +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);
 | |
|     }
 | |
| }
 | 
