Attack animation, colliders, triggering

This commit is contained in:
ThomasCharester committed 2026-10-25 19:14:56 +03:00
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);