s
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user