mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 08:25:20 +01:00
23 lines
462 B
C#
23 lines
462 B
C#
namespace MoleMole
|
|
{
|
|
public class FollowSuddenRecover : BaseFollowShortState
|
|
{
|
|
public FollowSuddenRecover(MainCameraFollowState followState)
|
|
: base(followState)
|
|
{
|
|
base.isSkippingBaseState = true;
|
|
}
|
|
|
|
public override void PostUpdate()
|
|
{
|
|
if (_owner.recoverState.active)
|
|
{
|
|
_owner.recoverState.CancelAndJumpToOriginalState();
|
|
}
|
|
_owner.needLerpForwardThisFrame = false;
|
|
_owner.needLerpPositionThisFrame = false;
|
|
End();
|
|
}
|
|
}
|
|
}
|