大约有 3,225 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0071 秒)
Laya_社区(2850) Laya3.0_api(82) Laya2.0_api(76) Laya2.0_文档(75) laya_api(71) Laya3.0_文档(58) Laya2.0_示例(7) Laya_示例(6)
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mas...
来源: Laya_社区 发布时间: 20170418
...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.add...
来源: Laya3.0_文档 发布时间: 20251010
...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } event1(p1:any, p2:any): void { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最后我们来运行动画,看看运行结果: (图9-4) Co...
来源: Laya3.0_文档 发布时间: 20251118
...代码 */ export class NewScript extends Laya.Script { declare owner: Laya.Sprite; private _trail2D: Laya.Trail2DRender; //从场景文件中获取到的宽度曲线数据 private _widthCurve: any[]; //从场景文件中获取到的颜色渐变数据 private _gradient: any; //组件被激活后执...
来源: Laya3.0_文档 发布时间: 20251010
...5) at Function.Utils3D._createNodeByJson (laya.d3.js:17954) at Sprite3D.__proto.onAsynLoaded (laya.d3.js:30800) at ResInfo.onLoaded (laya.core.js:13189) at EventHandler.__proto.runWith (laya.core.js:726) at ResInfo.__proto.event (laya.core.js:494) at LoaderManager...
来源: Laya_社区 发布时间: 20180731