合并代码
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class SendingFindPoint : ModuleSending<DataFindPoint> {
|
||||
private DataFindPoint findPoint;
|
||||
|
||||
public override DataFindPoint Current => findPoint;
|
||||
public override event Action<DataFindPoint> OnChange;
|
||||
public override void Change(DataFindPoint findPoint) {
|
||||
this.findPoint = findPoint;
|
||||
OnChange?.Invoke(findPoint);
|
||||
}
|
||||
|
||||
protected override void Awake() => ModuleCore.SendingFindPoint = this;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0e4ee0e36af29af418b3610ad98cf21b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class SendingPlate : ModuleSending<DataPlate> {
|
||||
private DataPlate dataPlate;
|
||||
|
||||
public override DataPlate Current => dataPlate;
|
||||
public override event Action<DataPlate> OnChange;
|
||||
public override void Change(DataPlate dataPlate) {
|
||||
this.dataPlate = dataPlate;
|
||||
OnChange?.Invoke(dataPlate);
|
||||
}
|
||||
|
||||
protected override void Awake() => ModuleCore.SendingPlate = this;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dcf91dd8e722ae845823651d7bc71333
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ffb8e2a96363fce4aadc0da4ba2a1ed9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user