Skip to content

Commit

Permalink
Merge pull request #27 from OUCC/#1-戦闘シーン
Browse files Browse the repository at this point in the history
プレイヤー勝利時に敵の攻撃を表示しないようにする
  • Loading branch information
aiueo-1234 authored Jun 24, 2023
2 parents 87814f1 + b42dc7b commit 2cc9ff7
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 2cc9ff7

Please sign in to comment.