mirror of
				https://github.com/DerTyp7/example-top-down-unity.git
				synced 2025-11-03 22:38:58 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			367 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			367 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;
 | 
						|
 | 
						|
    public override void OnSelect()
 | 
						|
    {
 | 
						|
        throw new System.NotImplementedException();
 | 
						|
    }
 | 
						|
} |