예제 #1
0
    private void OnPlayerMoveAction(ExPlayerMoveAction e)
    {
        // Set position
        transform.position = e.position;
        Vector3 moveDirection = e.moveDirection;

        // clear sequence and add new one, time warp to catup on
        // our game
        MoveSeq.ClearSequence();
        MoveSequenceCall(moveDirection);
        MoveSeq.TimeWarpFrom(e.time);
    }
    private void OnPlayerMoveAction(ExPlayerMoveAction e)
    {
        // Set position
        transform.position = e.position;
        Vector3 moveDirection = e.moveDirection;

        // clear sequence and add new one, time warp to catup on
        // our game
        MoveSeq.ClearSequence();
        MoveSequenceCall(moveDirection);
        MoveSeq.TimeWarpFrom(e.time);
    }