Files
MuHua-Core/Assets/ModulePrefab/PrefabPoint.cs
T
MuHua-123 84243e75a8 s
2024-11-25 18:32:05 +08:00

15 lines
353 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PrefabPoint : ModulePrefab<DataPoint> {
private DataPoint point;
public override DataPoint Value => point;
public override void UpdateVisual(DataPoint point) {
this.point = point;
transform.localPosition = point.position;
}
}