登录
This commit is contained in:
parent
f2599baa7f
commit
593c238c95
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;//计时时间
|
||||
|
@ -60655,7 +60655,7 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
start: {fileID: 5640692781816547268}
|
||||
isReady: 1
|
||||
isSatisfy: 1
|
||||
isSatisfy: 0
|
||||
isStart: 1
|
||||
moveDuration: 2
|
||||
scaleDuration: 2
|
||||
|
Loading…
Reference in New Issue
Block a user