添加重庆渝中洪崖洞侠客行试玩场景,成都双流圣菲学校场景

This commit is contained in:
ZYT
2025-11-27 17:00:43 +08:00
parent ef39ef65e0
commit 4ff4783741
18 changed files with 40873 additions and 64 deletions

View File

@@ -63,6 +63,8 @@ public enum Place
Hunan_Changde_Lixian_WandaGuangchang=39,
Jilin_Changchun_Beihu_WyueGuangchang=41,
Chongqing_Yuzhong_Hongyadong_Xiakexing=42,
Chongqing_Yuzhong_Hongyadong_Xiakexing_shiwan=-42,
Chengdu_Shuangliu_ShengfeiXuexiao =43,
}
public class GameLocal : MonoBehaviour
@@ -182,6 +184,8 @@ public class GameLocal : MonoBehaviour
authInfo.shop = 36;
if (place == Place.Jiangsu_Xvzhou_Suning_Guangchang_1)
authInfo.shop = 37;
if (place == Place.Chongqing_Yuzhong_Hongyadong_Xiakexing_shiwan)
authInfo.shop = 42;
#endif
authInfo.gameId = 3;
string authJson = JsonUtility.ToJson(authInfo);

View File

@@ -102,7 +102,7 @@ public class GameManager : NetworkBehaviour
[SyncVar]
public long vistEnd = 0;
// 总游玩时长
private int vistAllTime = (int)(60 * 8f);
private int vistAllTime = (int)(60 * 10f);
[SyncVar]
public string settleData = "";
@@ -239,7 +239,7 @@ public class GameManager : NetworkBehaviour
CoroutineTaskManager.Instance.WaitSecondTodo(() =>
{
GameOver(GameState.Settle);
}, 60 * 8f);
}, 60 * 10f);
}
[ClientRpc]

View File

@@ -158,6 +158,8 @@ public class Launcher : NetworkBehaviour
return;
}
bullet_amount += amount;
}
[Server]