소스 검색

Cards - Fix case issue for Mobile platforms.

Dominique Louis 1 개월 전
부모
커밋
c056d4156e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      CardsStarterKit/Core/Game/Blackjack/Game/BlackjackCardGame.cs
  2. 1 1
      CardsStarterKit/Core/Game/Screens/GameplayScreen.cs

+ 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++)
             {