using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LineManager : MonoBehaviour
{
public static LineManager instance;
private Transform point1;
private Transform point2;
private void Awake()
{
instance = this;
}
void Start()
{
}
void Update()
{
}
///
/// 鼠标点击的物体
///
///
public void ClickPoint(Transform point)
{
if (point1 != null)
{
point2 = point;
}
if (point1 == null)
{
point1 = point;
}
}
}