21 lines
402 B
C#
21 lines
402 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
using UnityEngine.UI;
|
|
|
|
namespace BF
|
|
{
|
|
[RequireComponent(typeof(CanvasRenderer))]
|
|
public class EmptyRaycast : MaskableGraphic
|
|
{
|
|
protected override void OnPopulateMesh(VertexHelper vh)
|
|
{
|
|
vh.Clear();
|
|
}
|
|
|
|
protected EmptyRaycast()
|
|
{
|
|
useLegacyMeshGeneration = false;
|
|
}
|
|
}
|
|
}
|