Skip to content

Commit

Permalink
プレイヤー勝利時に敵の攻撃を表示しないようにする
Browse files Browse the repository at this point in the history
  • Loading branch information
aiueo-1234 committed Jun 24, 2023
1 parent 87814f1 commit b42dc7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Assets/Scripts/BattleUIManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ private async UniTask ButtonCliledAsync(int playerAction)
{
messageText.SetText(playerMessage);
await UniTask.Delay(TimeSpan.FromSeconds(4), cancellationToken: ct);
messageText.SetText(enemyMessage);
if (battleJudge != 1)
{
messageText.SetText(enemyMessage);
}
}
else
{
Expand Down

0 comments on commit b42dc7b

Please sign in to comment.