Пример #1
0
    public override void LateUpdate(MovingEntityBase me)
    {
        if (!pc.AutomaticallyFollowPositionOnPlatform && pc.gravityApplication != MovingEntity.GravityState.none)
        {
            pc.FollowPositionOnPlatform();
        }
        bool mustUpdateCamera = OrientUp() | ChangeCameraDistanceBasedOnScrollWheel();

        UpdateCamera(me, mustUpdateCamera);
    }