s
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user