Skip to content

Instantly share code, notes, and snippets.

@Youngchangoon
Created October 1, 2017 05:01
Show Gist options
  • Save Youngchangoon/544472277c21592337905fdefbd169d5 to your computer and use it in GitHub Desktop.
Save Youngchangoon/544472277c21592337905fdefbd169d5 to your computer and use it in GitHub Desktop.
[UNITY] 보이지 않는 영역 그래픽 터치 처리하고싶을때.. / InvisibleGraphic
using UnityEngine;
using UnityEngine.UI;
public class InvisibleGraphic : Graphic
{
protected override void OnPopulateMesh(VertexHelper vh)
{
vh.Clear();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment