Removed TOTU 103
This commit is contained in:
		
							
								
								
									
										14
									
								
								Assets/Scripts/DebugLogger/DebugToggleManager.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Assets/Scripts/DebugLogger/DebugToggleManager.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| using UnityEngine; | ||||
|  | ||||
| public class DebugToggleManager : MonoBehaviour | ||||
| { | ||||
|     public GameObject debugPanel; // El panel que contiene el logger | ||||
|  | ||||
|     public void ToggleDebugPanel() | ||||
|     { | ||||
|         if (debugPanel != null) | ||||
|         { | ||||
|             debugPanel.SetActive(!debugPanel.activeSelf); | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Ignacio Gómez Puga
					Ignacio Gómez Puga