• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 432 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)

391. APK-update(TypeScript-LayaNative原生服务-LayaNative进阶) [ 50%]

...gine即可。 ```java protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().requestFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); /* * 如果不想使用更...

来源: Laya2.0_文档 发布时间: 20210715

392. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 50%]

...number;  /** 是否移除 */ public _to_remove: number;   constructor(){ super(GunRoleType.LIVE_DOLL); }  init( box: GunBox, doll_item: DollItem, doll_area: Area ):void { // if(!this._body_ani) // { // this._body_ani = new Laya.Animation(); // this.addChild(this._body_ani); // } // this._body_ani...

来源: Laya_社区 发布时间: 20180515

393. 使用3D精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...ne: Laya.Scene3D = new Laya.Scene3D; speed: number = 0.01; constructor() { super(); } /** * @private */ protected _updateRotation(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(this.yawPitchRoll.x, this.yawPitchRoll.y, this.yawPitchRoll.z, this.tempRo...

来源: Laya3.0_文档 发布时间: 20251010

394. 支付宝小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...{ @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //支付宝小游戏 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya...

来源: Laya3.0_文档 发布时间: 20251010

395. 动画状态机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

... = layerindex; this.playStateInfo.playState = playstate; } constructor() { super(); } /** * 动画状态开始时执行。 */ onStateEnter(): void { console.log("动画开始播放了"); } /** * 动画状态运行中 * @param normalizeTime 0-1动画播放状态 */ onStateUpdate(normalizeTime: number...

来源: Laya3.0_文档 发布时间: 20251010

396. prop 识别不到 [ 49%]

...pe: Number, default: 10} */      constructor() {         super();     }      onAwake() {         console.log("场景渲染完成", this.speed);     } }   IDE中报错: [15:26:34] Working directory changed to E:\LayaAirIDE\resources\app   [15:26:35] Using ...

来源: Laya_社区 发布时间: 20191227

397. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 48%]

...export class MyDialog extends MyDialogUI {    constructor() {        super();   } ​    onOpened(param: any): void {        console.log("mylog------:" + JSON.stringify("onOpened"));        this.openDataView.postMsg("test10086");   } } 此时 主域已经准备完毕。两个项目...

来源: Laya_社区 发布时间: 20190307

398. 调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined [ 48%]

...: var Test = (function(_surper){    function Test(){         Test.super(this);     };     Laya.class(Test, "Test", _surper);     return Test;      })(ui.TestUI);     报错Uncaught TypeError: Cannot read property 'call' of undefined     at Function.<anonymous> (laya.core.j...

来源: Laya_社区 发布时间: 20170621

399. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 48%]

...: {"name": "render", "right": "0", "left": "0"}}; function Item() { Item.__super.call(this); this.right = 0; this.left = 0; var selectBox = new Clip("../../res/ui/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; //设置 selectBox 的name 为“selectBox”时,将被识别为树结...

来源: Laya2.0_文档 发布时间: 20210715

400. 使用typescript开发项目,解决文件引用顺序问题 [ 48%]

...orld.ts export default class HelloWorld extends Laya.Text { constructor(){ super() this.text = "Hello Layabox" this.color = '#ffffff' } }   2017-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Monica - 知...

来源: Laya_社区 发布时间: 20171120