网演高层钦州
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
762 B

using System;
using System.Collections;
using System.Collections.Generic;
using AX.Network.Protocols;
using UnityEngine;
using AX.Serialization;
using UnityEngine.SceneManagement;
public class POLICE_CALL_SYNC : NetworkMessageBehaviour
{
protected override void Execute(BinaryMessage message)
{
var data = message.Body.Deserialize<PoliceCallData>();
GameSettings.disasterSetting.policeCallData = data;
//设置演练开始
GameSettings.othersSettings.isStartDrill = true;
if (CurrentUserInfo.role == Role. || CurrentUserInfo.role == Role.)
{
//指挥中心进入指挥中心场景
SceneManager.LoadScene("CommandCenter");
}
}
}