mirror of
				https://github.com/DerTyp7/example-top-down-unity.git
				synced 2025-10-31 05:17:07 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			267 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			267 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| using UnityEngine;
 | |
| [CreateAssetMenu(fileName = "FoodItem", menuName = "Items/FoodItem", order = 2)]
 | |
| public class FoodItem : Item
 | |
| {
 | |
|     public int health;
 | |
|     public int water;
 | |
|     public int regeneration;
 | |
| }
 | 
