Skip to content

Instantly share code, notes, and snippets.

@xiangyuan
Forked from x5lcfd/Empty4Raycast.cs
Created April 24, 2018 03:20
Show Gist options
  • Save xiangyuan/cc65230ca97f9ec49e638a1fd539290a to your computer and use it in GitHub Desktop.
Save xiangyuan/cc65230ca97f9ec49e638a1fd539290a to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
namespace UnityEngine.UI
{
public class Empty4Raycast : MaskableGraphic
{
protected Empty4Raycast()
{
useLegacyMeshGeneration = false;
}
protected override void OnPopulateMesh(VertexHelper toFill)
{
toFill.Clear();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment