坐标动画2期
protected override void OnPopulateMesh(VertexHelper vh)
{
vh.Clear();
}
#endregion
public override bool IsRaycastLocationValid(Vector2 screenPoint, Camera eventCamera)
{
if (UICollider2D != null)
{
return UICollider2D.OverlapPoint(eventCamera.ScreenToWorldPoint(screenPoint));
}
else
{
return base.IsRaycastLocationValid(screenPoint, eventCamera);
}
}