From f12bd32c554874c61ca27e2156c8e8c442f6c7cf Mon Sep 17 00:00:00 2001 From: alantrix0012 Date: Mon, 2 Feb 2026 11:19:44 +0530 Subject: [PATCH] Fix : Player count update and visual - increased treasure size --- Assets/Prefabs/UI/Canvas - World.prefab | 2 +- Assets/Scenes/Game.unity | 12 ++++++++++++ Assets/Scripts/Gameplay/GameplayManager.cs | 4 ++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Assets/Prefabs/UI/Canvas - World.prefab b/Assets/Prefabs/UI/Canvas - World.prefab index 0eb98ae..a31cacd 100644 --- a/Assets/Prefabs/UI/Canvas - World.prefab +++ b/Assets/Prefabs/UI/Canvas - World.prefab @@ -215,7 +215,7 @@ Canvas: m_VertexColorAlwaysGammaSpace: 0 m_AdditionalShaderChannelsFlag: 25 m_SortingLayerID: 0 - m_SortingOrder: 0 + m_SortingOrder: 5 m_TargetDisplay: 0 --- !u!114 &1334714064113256010 MonoBehaviour: diff --git a/Assets/Scenes/Game.unity b/Assets/Scenes/Game.unity index 3912a2b..fcedb7d 100644 --- a/Assets/Scenes/Game.unity +++ b/Assets/Scenes/Game.unity @@ -23126,6 +23126,18 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 4180996271043359930, guid: f7fae8d587c2e4afcbcd76b417afc521, type: 3} + propertyPath: m_LocalScale.x + value: 0.2 + objectReference: {fileID: 0} + - target: {fileID: 4180996271043359930, guid: f7fae8d587c2e4afcbcd76b417afc521, type: 3} + propertyPath: m_LocalScale.y + value: 0.2 + objectReference: {fileID: 0} + - target: {fileID: 4180996271043359930, guid: f7fae8d587c2e4afcbcd76b417afc521, type: 3} + propertyPath: m_LocalScale.z + value: 0.2 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f7fae8d587c2e4afcbcd76b417afc521, type: 3} --- !u!33 &4946864981684608825 diff --git a/Assets/Scripts/Gameplay/GameplayManager.cs b/Assets/Scripts/Gameplay/GameplayManager.cs index ade3826..1f491eb 100644 --- a/Assets/Scripts/Gameplay/GameplayManager.cs +++ b/Assets/Scripts/Gameplay/GameplayManager.cs @@ -875,6 +875,8 @@ public class GameplayManager : MonoBehaviour, IBase, IBootLoader, IDataLoader if (CheckForMaxDiceRollAttempt()) { nextTile.InitPlayerPawn(playerPawn, currentPlayerTypeTurn); + DisplayPlayerCountOnTile(playerPawn, true); + return; } @@ -884,6 +886,8 @@ public class GameplayManager : MonoBehaviour, IBase, IBootLoader, IDataLoader } nextTile.InitPlayerPawn(playerPawn, currentPlayerTypeTurn); + DisplayPlayerCountOnTile(playerPawn, true); + if (CheckForMaxDiceRollAttempt()) { return;