示例#1
0
文件: Mover.cs 项目: t61789/Thunder
        protected virtual void FixedUpdate()
        {
            var groundRayhit = GroundDetect();

            _Dangling.Check(groundRayhit.normal == Vector3.zero);
            Move(_MoveSyner.Get().Axis, groundRayhit.normal);
            HandleSquatJump(_JumpSyner.Get(), _SquatSyner.Get(), groundRayhit.normal);
        }
示例#2
0
文件: Player.cs 项目: t61789/Thunder
 private void FixedUpdate()
 {
     InteractiveDetect(
         _PivotTrans.position,
         _PivotTrans.rotation * Vector3.forward,
         InteractiveRange,
         _InteractiveSyn.Get());
 }
示例#3
0
        private void FixedUpdate()
        {
            if (_AutoMoving)
            {
                return;
            }

            UpdateAimPos();

            Move(_MoveSyner.Get().Axis,
                 _FastMoveSyner.Get().Stay,
                 -_ScrollHeightSyner.Get().Axis.x);

            FollowMoveTarget();
        }