Files
MuHua-Core/Assets/ModuleFixed/FixedArrange.cs
T
MuHua-123 84243e75a8 s
2024-11-25 18:32:05 +08:00

17 lines
490 B
C#

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);
}
}