合并代码
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user