Compare commits

...

3 Commits

Author SHA1 Message Date
huyulong
7e4379fbcb qq 2025-01-03 11:18:33 +08:00
huyulong
c2423ac4a1 Merge branch 'main' of http://shu.sheziwanglo.cn:3000/wulongxiao/_xiaofang 2025-01-03 11:10:16 +08:00
huyulong
a0faf39488 登录1111 2025-01-03 11:10:10 +08:00
2 changed files with 10 additions and 10 deletions

View File

@ -904,6 +904,7 @@ string HandleButtoncallId=11;//
}
if (userJoinResponse.MessageType == 11)//房间开始
{
GameObject.Find("HostCanvas").GetComponent<Starthost>().isSatisfy = true;
test111.instance.Oppanel();
}
if (userJoinResponse.MessageType == 12)//玩家准备
@ -912,7 +913,6 @@ string HandleButtoncallId=11;//
{
Debug.Log("服务器给准备好消息");
GameObject.Find("HostCanvas").GetComponent<Starthost>().start.interactable = true;
GameObject.Find("HostCanvas").GetComponent<Starthost>().isSatisfy = true;
}
}

View File

@ -125,14 +125,14 @@ public class Starthost : MonoBehaviour
}
void Update()
{
if(!isReady)
{
start.interactable = false;
}
else
{
start.interactable = true;
}
//if(!isReady)
//{
// start.interactable = false;
//}
//else
//{
// start.interactable = true;
//}
if (isTimerRunning)
{
timer += Time.deltaTime;
@ -198,7 +198,7 @@ public class Starthost : MonoBehaviour
AnimateUIElementAsync();
test.StartGameDrill(ReadRoom.instance.roomid);
start.interactable = false; // 防止点击事件
//总指挥接警动画
//总指挥接警动画
// 开始对讲机效果流程
PlayDialogueSequenceAsync();
//视野开始旋转