Attack animation, colliders, triggering
This commit is contained in:
1 parent
3e631899ea
commit
e61fcb78cf
94 files changed
+142319
-25861
No files matched your search
@@ -7,7 +7,6 @@ using Cysharp.Threading.Tasks;
|
||||
using LitMotion;
|
||||
using LitMotion.Extensions;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Code.OfficeGame.BattleMode.UI
|
||||
{
|
||||
@@ -23,8 +22,6 @@ namespace Code.OfficeGame.BattleMode.UI
|
||||
|
||||
public void SetEntityInfo(Dictionary<BattleActionType, BattleAction> battleActions)
|
||||
{
|
||||
_decisionCompletionSource = new();
|
||||
|
||||
foreach (var button in _actionButtons) Destroy(button.gameObject);
|
||||
|
||||
_actionButtons.Clear();
|
||||
@@ -45,6 +42,8 @@ namespace Code.OfficeGame.BattleMode.UI
|
||||
{
|
||||
try
|
||||
{
|
||||
_decisionCompletionSource = new();
|
||||
|
||||
var result = await _decisionCompletionSource.Task
|
||||
.AttachExternalCancellation(cts);
|
||||
|
||||
|
||||
Reference in new issue
Block a user