大约有 354 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0045 秒)
Laya_社区(124) Laya3.0_api(62) Laya2.0_api(58) laya_api(54) Laya_示例(25) Laya2.0_示例(17) Laya2.0_文档(9) Laya3.0_文档(5)
...le(); this.rigidBody = this.character.getComponent(Laya.Rigidbody3D); Laya.timer.frameLoop(1, this, this.onKeyDown); //獲取照相機 var camera: Laya.Camera = littleGirl.getChildByName( "Main Camera" ) as Laya.Camera; this.camera = camera; //新增怪物 this.RandomMonster_x(); this.RandomMonster_...
来源: Laya_社区 发布时间: 20200917
...e.mouseY - this.lastMouseY; } public get deltaTime(): number { return Laya.timer.delta / 1000; } public deltaWheel: number = 0; public FORWORD: Vector3 = new Vector3(); public get GetForward(): Vector3 { this.transform.getForward(this.FORWORD); return this.FORWORD } protected lastMouseX: number = 0;...
来源: Laya_社区 发布时间: 20170714
...e.mouseY - this.lastMouseY; } public get deltaTime(): number { return Laya.timer.delta / 1000; } public deltaWheel: number = 0; public FORWORD: Vector3 = new Vector3(); public get GetForward(): Vector3 { this.transform.getForward(this.FORWORD); return this.FORWORD } protected lastMouseX: number = 0;...
来源: Laya_社区 发布时间: 20190224
...通过Tween来执行角色位置改变的 //开启定时重复执行 Laya.timer.loop(40, this, this.loopfun); private loopfun(): void { //resPath,角色需要移动的每个世界坐标位置数组 if (this.resPath && this.index < this.resPathLength) { //AStar寻路位置 this._position...
来源: Laya3.0_文档 发布时间: 20230303