miduo_client/Assets/Scripts/UI/EmptyRaycast.cs

19 lines
386 B
C#
Raw Normal View History

2020-05-09 13:31:21 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEngine.UI
{
public class EmptyRaycast : MaskableGraphic
{
protected EmptyRaycast()
{
useLegacyMeshGeneration = false;
}
protected override void OnPopulateMesh(VertexHelper toFill)
{
toFill.Clear();
}
}
}