mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-11-10 16:26:28 +00:00
更新无限模式
This commit is contained in:
@@ -7,6 +7,7 @@ import { Vec2 } from "cc";
|
||||
import { GRoleUtil } from "../entity/GRole";
|
||||
import { TableGRole } from "../../../resources/config/ts/TableGRole";
|
||||
import GRoleDefault from "../base/role/GRoleDefault";
|
||||
import { v3 } from "cc";
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
//PVP 角色
|
||||
@@ -61,6 +62,9 @@ export default class GPVPMode extends GBaseMode<{}>{
|
||||
|
||||
onSyncInitSuccess(): void {
|
||||
|
||||
//调整相机
|
||||
let camreaPos = this.camera.node.worldPosition;
|
||||
this.camera.node.worldPosition = v3(0,100,camreaPos.z)
|
||||
|
||||
//初始化战斗
|
||||
console.log("GPVPMode 模式初始化");
|
||||
|
||||
Reference in New Issue
Block a user