大约有 160 项符合查询结果, 库内数据总量为 4,848 项。 (搜索耗时: 0.0055 秒)
...annot read property 'displayObject' of null Laya2.1.0 JS调用Java PlatformClass undefined Uncaught unknown animationClip version. 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Cannot read pro...
来源: Laya_社区 发布时间: 20180131
...ir有bug吗,我的代码是根据教程来写的,现附上代码export class Scene{ // 当前场景的配置信息 private _mLevelConf:LevelConf = null; // 地图文件 private _mTiledMap:TiledMap = null; // 自定义信息文件 private _mLoader:Loader = null; // 当前地图X坐标 private _mV...
来源: Laya_社区 发布时间: 20180529
...件,在laya内测试正常加载显示,代码如下:// 程序入口 class LayaAir3D { /*3D场景*/ private scene:Laya.Scene; /*3D角色*/ private role:Laya.Sprite3D; /*3D摄像机*/ public camera:Laya.Camera; constructor() { //初始化微信小游戏 Laya.MiniAdpter.init(); //初始化引擎 ...
来源: Laya_社区 发布时间: 20180307
...ck); // 初始化 UI 界面显示 this.reset(); } // 注册 Start 类 Laya.class(Start,"Start",_super); var _proto = Start.prototype; // 初始化 UI 界面显示 _proto.reset = function(){ } _proto.onBeginClick = function(){ dialog.close(); restart(); } _proto.onLinkClick = function(){ alert("***")...
来源: Laya_社区 发布时间: 20180130
...){ 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.js:127) at new Test (Test.j...
来源: Laya_社区 发布时间: 20170621
...var start = (function(_super){ function start(){ start.super(this); } Laya.class(start,"start",_super); //var _proto = Game.prototype; return start; })(ui.startUI) 2018-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20181220
...t laya.net.Loader; import laya.utils.Handler; import view.TestView; public class LayaUISample { private var dd:*; public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //判断是否在加速器端 __JS__("if(window.conch)") { //获取loadingview的实例 dd=__JS__("window.loadingV...
来源: Laya_社区 发布时间: 20160918
... * fontClip.value = "a1326";//显示"a1326"文字 */ public class FontClip extends Clip { /**数值*/ protected var _valueArr:String; /**文字内容数组**/ protected var _indexMap:Object; /**位图字体内容**/...
来源: Laya_社区 发布时间: 20180414
API DocumentationAll Packages | All Classes | Index | Frames No Frames ShaderCompile3DProperties | Methods | Constants Packagelaya.d3.shaderClasspublic class ShaderCompile3DInheritanceShaderCompile3D ObjectPublic Properties PropertyDefined By _conchShader : *ShaderCompile3D debugMod...
来源: laya_api 发布时间: 20170929
...rite(); this.bg1.loadImage("comp/bg.png"); this.addChild(this.bg1); } Laya.class(BackGround,"BackGround",_super); return BackGround; })(Laya.Sprite)代码我这样写可以正常显示,你试试 2017-02-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...
来源: Laya_社区 发布时间: 20170222