Files
MuHua-Core/Assets/ModulePrefab/PrefabPoint.cs
T
MuHua-123 698464b9d7 1
2024-11-29 18:10:02 +08:00

15 lines
373 B
C#

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