using System.Collections; using System.Collections.Generic; using UnityEngine; public class DataFindPoint { /// 有效的板片 public bool IsValidPlate => plate != null; /// 有效的点 public bool IsValidPoint => point != null; #region 输入 /// 位置 (需要和点同一个坐标系) public Vector3 position; /// 板片数据 public List datas; #endregion #region 输出 /// 查询到的板片 public DataPlate plate; /// 查询到的点 public DataPoint point; #endregion }