using System; using System.Collections; using System.Collections.Generic; using AX.Network.Protocols; using UnityEngine; using AX.Serialization; /// /// 灭火机器人收起铺设的管线 /// public class FIREROBOT_PICKUPLINE_SYNC : NetworkMessageBehaviour { protected override void Execute(BinaryMessage message) { InputHistory.Instance.RegisterInputHistory(message); var info = message.Body.Deserialize(); if (InputManager.Instance) { if (CurrentUserInfo.mySelf.Id != info.SendUserID) { if (info.gameObjID == GetComponent().gameObjID) { GetComponent().PickUpLayHose(); GetComponent().pathFindEnable = true; } } } } }