12 lines
		
	
	
		
			273 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			273 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| using UnityEngine;
 | |
| 
 | |
| [CreateAssetMenu(fileName = "Item1", menuName = "AddItem/Item")]
 | |
| public class Item : ScriptableObject
 | |
| {
 | |
|     public float price;
 | |
|     public GameObject itemPrefab;
 | |
|     public Sprite itemImage;
 | |
| }
 | 
