14 lines
		
	
	
		
			319 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			319 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using NEG.UI.UnityUi.Window;
 | |
| using NEG.UI.Window;
 | |
| using UnityEngine;
 | |
| 
 | |
| namespace NEG.UI.Area
 | |
| {
 | |
|     [Tooltip("Automatically open attached window on start")]
 | |
|     public class AutoWindowOpen : MonoBehaviour
 | |
|     {
 | |
|         [SerializeField] private MonoWindow window;
 | |
| 
 | |
|         private void Start() => window.Open();
 | |
|     }
 | |
| } |