示例#1
0
 void RefreshAirMovement()
 {
     canFlipKick = true;
     airDashes   = 1;
     airJumps    = unlocks.HasAbility(Ability.DoubleJump) ? 1 : 0;
     anim.ResetTrigger("Flail");
     panicJumpInputs = 0;
     airAttackTracker.Reset();
 }
示例#2
0
	public void RefreshAirMovement() {
		canFlipKick = true;
		airJumps = unlocks.HasAbility(Ability.DoubleJump) ? 1 : 0;
		anim.ResetTrigger("Flail");
		panicJumpInputs = 0;
		airAttackTracker.Reset();
		if (airDashes<1 && dashCooldown) {
			FlashCyan();
		}
		anim.SetBool("RedWings", false);
		airDashes = 1;
		StopCoroutine(nameof(RunDashCooldown));
		EndDashCooldown();
	}