mirror of
				https://github.com/DerTyp7/industrialize-unity.git
				synced 2025-10-31 05:17:10 +01:00 
			
		
		
		
	a
This commit is contained in:
		
							
								
								
									
										13
									
								
								Assets/Items/testItem/StackSizeText.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								Assets/Items/testItem/StackSizeText.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| using System.Collections; | ||||
| using System.Collections.Generic; | ||||
| using UnityEngine; | ||||
|  | ||||
| //! DEBUG TEXT | ||||
| public class StackSizeText : MonoBehaviour | ||||
| { | ||||
|     public ItemObject itemObject; | ||||
|     void Update() | ||||
|     { | ||||
|         gameObject.GetComponent<TMPro.TextMeshPro>().text = itemObject.stackSize.ToString(); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Janis
					Janis