大约有 1,057 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)
... const { regClass, property } = Laya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @private */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: number = 0; protected yawPitchRoll: Laya.Vector3 = new Laya.Vecto...
来源: Laya3.0_文档 发布时间: 20251010
...art: art/runtime/java_vm_ext.cc:470] t.src:function(){for(var e,t=document.scripts,i=t.length-1,n=i;n>0;n--)if("interactive"===t[n].readyState){e=t[n].src;break}retutTO 2019-03-15 08:45:13.438 8214-8265/com.layabox.hello A/art: art/runtime/java_vm_ext.cc:470] �|�`r��|�@���|� 201...
来源: Laya_社区 发布时间: 20190315
...rty } = Laya; @regClass() export default class CameraControll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目...
来源: Laya3.0_文档 发布时间: 20251010
...rticle3D } from "./Particle3D"; @regClass() export class Main extends Laya.Script { //粒子特效的路径 private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下...
来源: Laya3.0_文档 发布时间: 20251010
...rticle3D } from "./Particle3D"; @regClass() export class Main extends Laya.Script { //粒子特效的路径 private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下...
来源: Laya3.0_文档 发布时间: 20250104
...显示节点设置了碰撞体之后,开发者可以为这些节点挂接Script脚本。在脚本中直接重写以上虚方法的代码逻辑。当运行触发了这些物理碰撞条件,就可以自动执行相应的代码逻辑。 ## 本文赞赏 如果您觉得本文对您有帮助,欢迎...
来源: Laya2.0_文档 发布时间: 20210714
...ientDamage error 01-06 17:34:41.596 23051 23051 I C03f00/ArkCompiler: [ecmascript] asmint: 1, aot: 1, bundle name: com.layabox.game 01-06 17:34:41.597 23051 23051 I C03f00/ArkCompiler: [gc] SmartGC: enter app cold start 01-06 17:34:41.603 1574 1809 E C01406/WRAP: [gles_fb_surfaces_changed_nx@mali_gl...
来源: Laya_社区 发布时间: 20250106