Files
aibis-dream/Assets/Scripts/FixSystemNew/OscilloscopeSystem.cs
T
2024-11-12 14:32:02 +08:00

31 lines
772 B
C#

using UnityEngine;
namespace AibisDream.FixSystem
{
public class OscilloscopeSystem : MonoBehaviour
{
#region 组件索引
private OscilloscopeViewer _oscilloscopeViewer;
private BodyModuleSystem _bodyModuleSystem;
#endregion
public void InitComponentRefs()
{
_oscilloscopeViewer = transform.Find("Oscilloscope Viewer").GetComponent<OscilloscopeViewer>();
}
public void DeepIn()
{
// 插线系统不正常就返回
if (!_bodyModuleSystem.IsPlugInSocket())
{
_oscilloscopeViewer.ShowScreenMessage("未插入任何目标模块");
return;
}
//
}
}
}