mirror of
				https://github.com/DerTyp7/harvestdale-unity.git
				synced 2025-10-30 21:17:09 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			723 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			723 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using UnityEngine;
 | |
| using System;
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| 
 | |
| [CreateAssetMenu(fileName = "Crop", menuName = "Harvestdale/Items/Crop", order = 0)]
 | |
| public class Crop : Item
 | |
| {
 | |
|   [SerializeField]
 | |
|   private List<Sprite> sprites = new List<Sprite>();
 | |
| 
 | |
|   [SerializeField]
 | |
|   private Harvest harvestItem;
 | |
| 
 | |
|   [SerializeField]
 | |
|   private Season seasonToPlant;
 | |
| 
 | |
|   [SerializeField]
 | |
|   private Season seasonToHarvest;
 | |
| 
 | |
|   public List<Sprite> Sprites
 | |
|   {
 | |
|     get { return sprites; }
 | |
|   }
 | |
| 
 | |
|   public Harvest HarvestItem
 | |
|   {
 | |
|     get { return harvestItem; }
 | |
|   }
 | |
| 
 | |
|   public Season SeasonToPlant
 | |
|   {
 | |
|     get { return seasonToPlant; }
 | |
|   }
 | |
| 
 | |
|   public Season SeasonToHarvest
 | |
|   {
 | |
|     get { return seasonToHarvest; }
 | |
|   }
 | |
| } | 
