fix:复活阶段禁止开枪

This commit is contained in:
bzx
2025-08-30 18:49:07 +08:00
parent 54c96c1119
commit c35f712fa4
5 changed files with 2002 additions and 46405 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -108,6 +108,8 @@ public class Gun2 : Launcher
[Command]
public void CmdShot()
{
if(!GameLocal.Ins.self.IsAlive)
return;
if (GameManager.Ins.gameState == GameState.Playing)
{
if (bullet_amount>0)

View File

@@ -90,6 +90,8 @@ public class Gun3 : Launcher
[Command]
public void CmdShot()
{
if(!GameLocal.Ins.self.IsAlive)
return;
frame++;
Debug.Log(frame);
if (frame >= 70)

View File

@@ -5,12 +5,15 @@ EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
- enabled: 0
path: Assets/_Zombie/Scenes/Company1Floor.unity
guid: 386a8fdea01af8a4e8d4a9835407ddec
- enabled: 0
path: Assets/_Zombie/Scenes/Zhejiang_Shaoxing_Shengzhou_Wuyueguangchang.unity
guid: df8c4c84bf9690442a51ed602038e198
- enabled: 1
path: Assets/_Zombie/Scenes/Shandong_Jining_Shangchang_nei.unity
guid: c58727a975cdcca41b42f70a2fc91ab1
m_configObjects:
Unity.XR.PXR.Settings: {fileID: 11400000, guid: d0f8149c48842b4488cf6fb974cff9a2,
type: 2}

View File

@@ -165,7 +165,7 @@ PlayerSettings:
androidSupportedAspectRatio: 1
androidMaxAspectRatio: 2.1
applicationIdentifier:
Android: com.pineappletech.zombie.gongsi1lou
Android: com.pineappletech.zombie.shandongjiningshangchengnei
Standalone: com.DefaultCompany.com.unity.template.ar
buildNumber:
Standalone: 0