This commit is contained in:
CortexCore
2023-10-20 22:46:14 +08:00
parent a160813262
commit 325f63d6bc
42 changed files with 1602 additions and 79 deletions

View File

@@ -163,7 +163,6 @@ namespace BITFALL.Guns
isHolstered = false;
var animName = animator.animator.GetCurrentAnimatorStateInfo(0).shortNameHash;
animator.animator.enabled = true;
animator.animator.Play(animName,-1,0);
inputActionGroup.allowInput.AddElement(this);
expectFiring.Reset();
@@ -200,7 +199,6 @@ namespace BITFALL.Guns
}
destroyCancellationToken.ThrowIfCancellationRequested();
animator.animator.enabled = false;
await base.ExitAsync();
}