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