This commit is contained in:
huyulong 2024-12-30 11:20:06 +08:00
parent f2599baa7f
commit 593c238c95
3 changed files with 4 additions and 3 deletions

View File

@ -541,7 +541,7 @@ public class test : MonoBehaviour
data.RoomId = roomId;
data.IsReady = isready;
Debug.Log("==========玩家准备,,,,,,,,,,,,,,");
WSMessage msg = new WSMessage();
msg.Module = "select";
msg.ServiceName = "GetSelectHistoryList";
@ -802,6 +802,7 @@ public class test : MonoBehaviour
}
if (userJoinResponse.MessageType == 12)//ÍćźŇןą¸
{
Debug.Log("服务器给准备好消息");
GameObject.Find("HostCanvas").GetComponent<Starthost>().isSatisfy=true;
}

View File

@ -20,7 +20,7 @@ public class Starthost : MonoBehaviour
private Button posiBtn;//人员到位情况按钮
public Button start;//开始演练按钮
public bool isReady;//在线玩家是否准备
public bool isSatisfy;//人员是否满足
public bool isSatisfy=false;//人员是否满足
public bool isStart=false;//演习是否开始
private GameObject time;//计时
private Text timeText;//计时时间

View File

@ -60655,7 +60655,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
start: {fileID: 5640692781816547268}
isReady: 1
isSatisfy: 1
isSatisfy: 0
isStart: 1
moveDuration: 2
scaleDuration: 2