16 lines
		
	
	
		
			411 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			411 B
		
	
	
	
		
			C#
		
	
	
	
| 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;
 | |
|         //if (!isActiveAndEnabled)
 | |
|         //    return true;
 | |
| 
 | |
|         //return !RectTransformUtility.RectangleContainsScreenPoint(rectTransform, sp, eventCamera);
 | |
|     }
 | |
| } |