using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class DataPlateTool {
/// 核心模块
private static ModuleCore ModuleCore => ModuleCore.I;
/// 可视化模块
private static ModuleVisual VisualPlate => ModuleCore.VisualPlate;
/// 多边形算法模块
private static ModuleAlgorithm AlgorithmPolygon => ModuleCore.AlgorithmPolygon;
public static void UpdateVisual(this DataPlate data) {
//多边形计算
AlgorithmPolygon.Compute(data);
//生成可视化内容
VisualPlate.UpdateVisual(data);
}
}