fix:复活阶段禁止开枪
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -108,6 +108,8 @@ public class Gun2 : Launcher
|
|||||||
[Command]
|
[Command]
|
||||||
public void CmdShot()
|
public void CmdShot()
|
||||||
{
|
{
|
||||||
|
if(!GameLocal.Ins.self.IsAlive)
|
||||||
|
return;
|
||||||
if (GameManager.Ins.gameState == GameState.Playing)
|
if (GameManager.Ins.gameState == GameState.Playing)
|
||||||
{
|
{
|
||||||
if (bullet_amount>0)
|
if (bullet_amount>0)
|
||||||
|
|||||||
@@ -90,6 +90,8 @@ public class Gun3 : Launcher
|
|||||||
[Command]
|
[Command]
|
||||||
public void CmdShot()
|
public void CmdShot()
|
||||||
{
|
{
|
||||||
|
if(!GameLocal.Ins.self.IsAlive)
|
||||||
|
return;
|
||||||
frame++;
|
frame++;
|
||||||
Debug.Log(frame);
|
Debug.Log(frame);
|
||||||
if (frame >= 70)
|
if (frame >= 70)
|
||||||
|
|||||||
@@ -5,12 +5,15 @@ EditorBuildSettings:
|
|||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Scenes:
|
m_Scenes:
|
||||||
- enabled: 1
|
- enabled: 0
|
||||||
path: Assets/_Zombie/Scenes/Company1Floor.unity
|
path: Assets/_Zombie/Scenes/Company1Floor.unity
|
||||||
guid: 386a8fdea01af8a4e8d4a9835407ddec
|
guid: 386a8fdea01af8a4e8d4a9835407ddec
|
||||||
- enabled: 0
|
- enabled: 0
|
||||||
path: Assets/_Zombie/Scenes/Zhejiang_Shaoxing_Shengzhou_Wuyueguangchang.unity
|
path: Assets/_Zombie/Scenes/Zhejiang_Shaoxing_Shengzhou_Wuyueguangchang.unity
|
||||||
guid: df8c4c84bf9690442a51ed602038e198
|
guid: df8c4c84bf9690442a51ed602038e198
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/_Zombie/Scenes/Shandong_Jining_Shangchang_nei.unity
|
||||||
|
guid: c58727a975cdcca41b42f70a2fc91ab1
|
||||||
m_configObjects:
|
m_configObjects:
|
||||||
Unity.XR.PXR.Settings: {fileID: 11400000, guid: d0f8149c48842b4488cf6fb974cff9a2,
|
Unity.XR.PXR.Settings: {fileID: 11400000, guid: d0f8149c48842b4488cf6fb974cff9a2,
|
||||||
type: 2}
|
type: 2}
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ PlayerSettings:
|
|||||||
androidSupportedAspectRatio: 1
|
androidSupportedAspectRatio: 1
|
||||||
androidMaxAspectRatio: 2.1
|
androidMaxAspectRatio: 2.1
|
||||||
applicationIdentifier:
|
applicationIdentifier:
|
||||||
Android: com.pineappletech.zombie.gongsi1lou
|
Android: com.pineappletech.zombie.shandongjiningshangchengnei
|
||||||
Standalone: com.DefaultCompany.com.unity.template.ar
|
Standalone: com.DefaultCompany.com.unity.template.ar
|
||||||
buildNumber:
|
buildNumber:
|
||||||
Standalone: 0
|
Standalone: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user