Added automatic setting of three camera directions of down, right and back to the right-click menu of the object selected in the main viewport and removed the function of focus in the setting.
Optimized viewpoint manipulation by removing the right joystick and now able to manipulate the viewpoint by swiping the blank screen position.
Added characture jump interface with the following code:
//ClientRun
@MWCore.MWClass
class CharacterJumpTest extends MWCore.MWScript {
Character: GamePlay.Character;
OnPlay() {
console.log("OnPlay");
this.Character = GamePlay.GetCurrentPlayer().Character;
this.BindPlayerInput();
}
//BindEvent
BindPlayerInput(): void {
console.log("BindPlayerInput");
this.Character.OnSkill1Trigger.Add(() => {
console.log("Jump");
//Jump
this.Character.Jump();
});
}
};
export default CharacterJumpTest;