大约有 306 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...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
...operty 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let config3D = new Laya...
来源: Laya_社区 发布时间: 20200903
...Class, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite }) public hit: Sprite; private _temp: Sprite; private _allAgent: Nav2DAgent[] = []; private findCompents(lists: any[], sprite: Sprite, componentType:...
来源: Laya3.0_文档 发布时间: 20251010
...shRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. MeshUitls.writeSkinnerMesh (UnityEngine.SkinnedMeshRenderer skinnedMeshRenderer, System.String meshName, System.IO.FileStream fs, System.Int32 Max...
来源: Laya_社区 发布时间: 20240111
...属性个数=16 04-11 11:17:09.578 8591-8609/? I/LayaBox﹕ Start js scripts/apploader.js 04-11 11:17:09.793 8591-8658/? I/LayaBox﹕ js thread started. 04-11 11:17:09.797 8591-8658/? I/LayaBox﹕ found the file in the package:scripts/runtimeInit.js 04-11 11:17:09.802 8591-8658/c...
来源: Laya_社区 发布时间: 20170411
...码如下: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D)...
来源: Laya3.0_文档 发布时间: 20251010
...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
...indow is not defined 真机调试报错:LayaPlayer不支持的标签</SCRIPT> IDE通过.ui自动生成的ui代码报错 laya2 发布微信开放域工程,用微信开发者工具打开报错 小游戏项目 加载有中文的json文件 报错 播放背景音乐的问题 刚打开 桌面调...
来源: Laya_社区 发布时间: 20180626
...Data is not defined? 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 用了ByteArray的zlib.min.js后报错 runtime运行报错! 问题状态 最新活动: 2019-07-30 16:45 浏览: 3571 关注: 3 人 Nevermore • 2019-07-18 13:17 我录了个屏,没什么操作,就直接安...
来源: Laya_社区 发布时间: 20190716