mirror of
				https://github.com/DerTyp7/example-top-down-unity.git
				synced 2025-10-31 13:27:06 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			355 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			355 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 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;
 | |
| }
 | 
