合并代码

This commit is contained in:
MuHua-123
2024-11-15 18:28:21 +08:00
parent 497b43a446
commit 72d1f89b54
274 changed files with 4939 additions and 1968 deletions
@@ -0,0 +1,17 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SendingPoint : ModuleSending<DataPoint> {
private DataPoint dataPoint;
public override DataPoint Current => dataPoint;
public override event Action<DataPoint> OnChange;
public override void Change(DataPoint dataPoint) {
this.dataPoint = dataPoint;
OnChange?.Invoke(dataPoint);
}
protected override void Awake() => ModuleCore.SendingPoint = this;
}