19 lines
		
	
	
		
			514 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			514 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| // Copyright (c) Pixel Crushers. All rights reserved.
 | |
| 
 | |
| using UnityEngine;
 | |
| 
 | |
| namespace PixelCrushers.Wrappers
 | |
| {
 | |
| 
 | |
|     /// <summary>
 | |
|     /// This wrapper class keeps references intact if you switch between the 
 | |
|     /// compiled assembly and source code versions of the original class.
 | |
|     /// </summary>
 | |
|     [AddComponentMenu("Pixel Crushers/Common/UI/Keep RectTransform Onscreen")]
 | |
|     [DisallowMultipleComponent]
 | |
|     public class KeepRectTransformOnscreen : PixelCrushers.KeepRectTransformOnscreen
 | |
|     {
 | |
|     }
 | |
| 
 | |
| }
 | 
