20 lines
		
	
	
		
			514 B
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
		
			514 B
		
	
	
	
		
			C#
		
	
	
	
| 
								 | 
							
								using UnityEngine;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace SRDebugger.Services
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    using System;
							 | 
						|||
| 
								 | 
							
								    using Internal;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								    public interface IPinnedUIService
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        event Action<OptionDefinition, bool> OptionPinStateChanged;
							 | 
						|||
| 
								 | 
							
								        event Action<RectTransform> OptionsCanvasCreated;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        bool IsProfilerPinned { get; set; }
							 | 
						|||
| 
								 | 
							
								        void Pin(OptionDefinition option, int order = -1);
							 | 
						|||
| 
								 | 
							
								        void Unpin(OptionDefinition option);
							 | 
						|||
| 
								 | 
							
								        void UnpinAll();
							 | 
						|||
| 
								 | 
							
								        bool HasPinned(OptionDefinition option);
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |