Exemplo n.º 1
0
 public override void Enter()
 {
     if (base._owner.lastBaseState == base._owner.followAvatarAndTargetState)
     {
         this._enteringLerp         = true;
         this._lerpTimer            = 0f;
         this._startPolar           = base._owner.anchorPolar;
         this._startForwardDelta    = base._owner.forwardDeltaAngle;
         this._targetForwardDelta   = 0f;
         this._enteringLerpDuration = Miscs.AbsAngleDiff(this._startPolar, this._targetPolar) * 0.1f;
         base.cannotBeSkipped       = true;
     }
 }