fix:添加结束后禁止开枪
This commit is contained in:
@@ -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 = { "小菜一碟", "轻松拿捏", "荣耀勇士", "掌控全场", "队伍灵魂"
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user