fix:添加结束后禁止开枪

This commit is contained in:
bzx
2025-09-03 14:28:58 +08:00
parent ef6ed9022c
commit 65c4e53132
4 changed files with 6 additions and 10 deletions

View File

@@ -269,7 +269,7 @@ public class GameManager : NetworkBehaviour
[Server]
public void GameOver(GameState state)
{
// gameState = state;
gameState = state;
// foreach (string key in SettleInfos.Keys)
// {
// string[] titles = { "小菜一碟", "轻松拿捏", "荣耀勇士", "掌控全场", "队伍灵魂"

View File

@@ -102,6 +102,8 @@ public class MRInput : MonoBehaviour
void Update()
{
if (GameManager.Ins != null&& GameManager.Ins.gameState!= GameState.Playing)
return;
#if !UNITY_EDITOR && UNITY_ANDROID && PICO
if (_leftHandDevice != null)
{