This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-06-04 19:11:29 +08:00
parent ca4eaaa7da
commit 939132d1e1
3 changed files with 8 additions and 6 deletions

View File

@ -42510,10 +42510,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 2161047130895777792}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_SizeDelta: {x: 1080, y: 2340}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5552065052100559850
CanvasRenderer:

View File

@ -39,7 +39,7 @@ namespace GameLogic
public long m_AllTeamPush = 0;
public int m_TeamId = 0;// 当前朝代Id
public int m_TeamId = 1;// 当前朝代Id
public bool isLiShiShiJian = false; // 是否是历史事件
public int m_LiShiShiJianLikeCount = 0; // 历史事件点赞触发条件
public int m_LiShiShiJianLikeCountMax = 200; // 历史事件点赞触发条件最大值
@ -756,7 +756,7 @@ namespace GameLogic
{
if (ScoreAllValue >= ConfigSystem.Instance.Tables.TbTeamConfig.DataList[i].ScoreTargetValue)
{
id = i;
id = i + 1;
}
else
{
@ -772,7 +772,7 @@ namespace GameLogic
// 切换朝代
m_TeamId = id;
m_ScoreScale = ConfigSystem.Instance.Tables.TbTeamConfig.DataList[m_TeamId].ScoreValue;
m_ScoreScale = ConfigSystem.Instance.Tables.TbTeamConfig.Get(m_TeamId).ScoreValue;
GameEvent.Send(EventConts.SwitchTeamId);

View File

@ -304,6 +304,8 @@ namespace GameLogic
int teamId = DataGameSceneManager.Instance.m_TeamId;
Log.Debug("当前黄金时代id" + teamId);
// 先播放视频
string videoName = ConfigSystem.Instance.Tables.TbTeamConfig.Get(teamId).VideoName;