mirror of
				https://github.com/DerTyp7/harvestdale-unity.git
				synced 2025-10-31 05:27:07 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			451 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			451 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using UnityEngine;
 | |
| 
 | |
| [CreateAssetMenu(fileName = "Item", menuName = "Harvestdale/Items/Item", order = 0)]
 | |
| public class Item : ScriptableObject
 | |
| {
 | |
|   [SerializeField]
 | |
|   private string uuid;
 | |
| 
 | |
|   [SerializeField]
 | |
|   private string itemName;
 | |
| 
 | |
|   [SerializeField]
 | |
|   private Sprite icon;
 | |
| 
 | |
| 
 | |
|   public string UUID
 | |
|   {
 | |
|     get { return uuid; }
 | |
|   }
 | |
| 
 | |
|   public string ItemName
 | |
|   {
 | |
|     get { return itemName; }
 | |
|   }
 | |
| 
 | |
|   public Sprite Icon
 | |
|   {
 | |
|     get { return icon; }
 | |
|   }
 | |
| } | 
