| 
									
										
										
										
											2022-02-08 12:24:48 +00:00
										 |  |  |  | using System.Collections; | 
					
						
							|  |  |  |  | using System.Collections.Generic; | 
					
						
							|  |  |  |  | using UnityEngine; | 
					
						
							|  |  |  |  | using UnityEngine.UI; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | public class Hole : Mask | 
					
						
							|  |  |  |  | { | 
					
						
							|  |  |  |  |     public override bool IsRaycastLocationValid(Vector2 sp, Camera eventCamera) | 
					
						
							|  |  |  |  |     { | 
					
						
							|  |  |  |  |         return false; | 
					
						
							| 
									
										
										
										
											2022-02-09 12:07:40 +00:00
										 |  |  |  |         //if (!isActiveAndEnabled) | 
					
						
							|  |  |  |  |         //    return true; | 
					
						
							| 
									
										
										
										
											2022-02-08 12:24:48 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |         //return !RectTransformUtility.RectangleContainsScreenPoint(rectTransform, sp, eventCamera); | 
					
						
							|  |  |  |  |     } | 
					
						
							|  |  |  |  | } |