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

大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0068 秒)

1041. TypeError: Cannot read property 'GetType' of null [ 68%]

...t TypeError: Cannot read property 'props' of undefined Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constru...

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

1042. 绘制图形的BUG [ 68%]

...kage ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"); addChild(_shape); //加...

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

1043. IDE-显示IDE创建的界面 [ 68%]

... = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader; class TestUI extends game.ui.test.TestPageUI { constructor() { super(); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Laya.CLICK, this, this.onBtnClick); this.btn2.on(Laya....

来源: Laya_示例 发布时间: 20250223

1044. IDE-显示IDE创建的界面 [ 68%]

... = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader; class TestUI extends game.ui.test.TestPageUI { constructor() { super(); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Laya.CLICK, this, this.onBtnClick); this.btn2.on(Laya....

来源: Laya2.0_示例 发布时间: 20200319

1045. laya.utils.Timer_API3.0 [ 68%]

...ll Inherited Externals Only exported Menu Globals "laya/utils/Timer" Timer Class Timer Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Hierarchy Timer Index Constructors constructor Properties currFrame currTimer scale Accessors delta M...

来源: Laya3.0_api 发布时间: 20231115

1046. 资源加载 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...,用于常规的资源 */}); 完整的脚本示例如下: const { regClass, property } = Laya; @regClass() export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https:...

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

1047. Uncaught TypeError: Failed to execute 'dispatchEvent' on 'EventTarget [ 68%]

... scene:GameView.scene undefined 脚本重命名后报Uncaught Can not find class 错误 Uncaught Can not find class srcipt/game/Game_App.ts 导出微信报错Uncaught (in promise) gameThirdScriptError 问题状态 最新活动: 2017-03-07 11:12 浏览: 1033 关注: 2 人 cuixueying • 2017-03-07 21...

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

1048. List数据源的格式问题导致无法响应List的SelectHandler [ 68%]

...ush(skillInfoVO); } list.array = temp;2、SkillInfoVO的相关代码public class SkillInfoVO extends Data { public var Lv:int; public var Name:String; public var Color:int; }3、Data的相关代码public class Data extends EventDispatcher { public function Data() { } protected function dataSourceCha...

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

1049. Image属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 68%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Image)。 ​ **Image 组件的资源示例:** ​ ![图片0.png](img/1.png) ​ (图1) ​ **Image 组件拖放到编辑区后显示效果:** ​ ![图片0.png](img/2.png) ​ (图2) ### 1.2 Image ...

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

1050. LayaAir3D导出scene 显示 invalid path错误 [ 68%]

...ryName (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Path.cs:215) LayaExport.DataManager.saveLightMapFile (.JSONObject customProps) LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.expor...

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