mirror of
				https://github.com/DerTyp7/example-top-down-unity.git
				synced 2025-10-31 13:27:06 +01:00 
			
		
		
		
	-Added Items
-Added item stacking -adding and removing items
This commit is contained in:
		
							
								
								
									
										19
									
								
								Assets/Scripts/Inventory/ItemAtlas.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								Assets/Scripts/Inventory/ItemAtlas.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| using System.Collections; | ||||
| using System.Collections.Generic; | ||||
| using UnityEngine; | ||||
|  | ||||
| public class ItemAtlas : MonoBehaviour | ||||
| { | ||||
|     public static ItemAtlas Instance { get; private set; } | ||||
|  | ||||
|     private void Awake() | ||||
|     { | ||||
|         Instance = this; | ||||
|     } | ||||
|     enum ItemTypes { | ||||
|     STONE,TOMATO | ||||
|      | ||||
|     } | ||||
|     public Sprite stoneSprite; | ||||
|     public Sprite woodSprite; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 julius
					julius