This commit is contained in:
MuHua-123
2024-11-25 18:32:05 +08:00
parent 72d1f89b54
commit 84243e75a8
353 changed files with 17666 additions and 3206 deletions
+16
View File
@@ -0,0 +1,16 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FixedArrange : ModuleFixed {
public GameObject markPoints;
private void Awake() {
ModuleCore.OnBakingMobilePlate += ModuleCore_OnBakingMobilePlate;
}
private void OnDestroy() {
ModuleCore.OnBakingMobilePlate -= ModuleCore_OnBakingMobilePlate;
}
private void ModuleCore_OnBakingMobilePlate(DataPlate obj) {
markPoints.SetActive(obj != null);
}
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c1114659c98eaef449fcb99cfb34b313
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+11
View File
@@ -0,0 +1,11 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 固定数据物体模块
/// </summary>
public abstract class ModuleFixed : MonoBehaviour {
/// <summary> 核心模块 </summary>
protected virtual ModuleCore ModuleCore => ModuleCore.I;
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: eec3b1cad3ba3554fa807026197bba57
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: