Kaynağa Gözat

Cards - Fix case issue for Mobile platforms.

Dominique Louis 1 ay önce
ebeveyn
işleme
c056d4156e

+ 1 - 1
CardsStarterKit/Core/Game/Blackjack/Game/BlackjackCardGame.cs

@@ -250,7 +250,7 @@ namespace Blackjack
             Game.Components.Add(animationComponent);
 
             animationComponent.AddAnimation(
-                new FramesetGameComponentAnimation(cardsAssets["shuffle_" + Theme], 32, 11, frameSize)
+                new FramesetGameComponentAnimation(cardsAssets["Shuffle_" + Theme], 32, 11, frameSize)
                 {
                     Duration = TimeSpan.FromSeconds(1.5f),
                     PerformBeforeStart = ShowComponent,

+ 1 - 1
CardsStarterKit/Core/Game/Screens/GameplayScreen.cs

@@ -159,7 +159,7 @@ namespace Blackjack
             player.Stand += player_Stand;
 
             // Load UI assets
-            string[] assets = { "blackjack", "bust", "lose", "push", "win", "pass", "shuffle_" + theme };
+            string[] assets = { "blackjack", "bust", "lose", "push", "win", "pass", "Shuffle_" + theme };
 
             for (int chipIndex = 0; chipIndex < assets.Length; chipIndex++)
             {