using System.Collections;
using System.Collections.Generic;
using UnityEngine;
///
/// 插座
///
public class Device_Socket : Device_Base
{
///
/// 验电位置
///
public Transform testPosAndRot;
///
/// 是否带电
///
public bool hasElectricity;
///
/// 断线重连保存
///
///
///
public override void LoadCurrentTriggerStat(string triggerInfo)
{
if (triggerInfo != "")
hasElectricity = bool.Parse(triggerInfo);
}
public override string SaveCurrentTriggerStat()
{
return hasElectricity.ToString();
}
}