大约有 1,546 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0073 秒)
...其他地方使用会报错 module bili{ export class Test{ constructor(){ console.log("Test"); } } } 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 牛唠叨 赞同来自: Chiuan 其实就是那个2.0...
来源: Laya_社区 发布时间: 20180926
...this,this.onmousemove); apesCtn.addChild(img); ........ onmousemove(e) { //console.log("e="+JSON.stringify(e)); for (var property in e) { console.log(property+"="+e[property]); } console.log("========================"); /**这里是运行后,在img上拖动给出的属性,没有鼠标的xy的坐...
来源: Laya_社区 发布时间: 20181031
...._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "动画状态:动画开始播放"; } /** * 动画状态更新时执行。 */ onStateUpdate() { console.log("动画状态更新了"); this._text.text = "动画状态:...
来源: Laya2.0_文档 发布时间: 20210715
...----- import AM from './a'; import BM from './b'; window.onload = ()=>{ console.log(AM.AC.myname); console.log(BM.BC.myname); console.log(Laya.Browser.clientWidth); }
来源: Laya_社区 发布时间: 20180918
...._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "动画状态:动画开始播放"; } /** * 动画状态更新时执行。 */ onStateUpdate() { console.log("动画状态更新了"); this._text.text = "动画状态:...
来源: Laya2.0_文档 发布时间: 20210715
...aya.Handler.create(this, () => { let picTemp = Laya.Loader.getRes(url); console.log(picTemp.width) // undefined let nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 nodee.x = 100 nodee.y = 350 Laya.stage.addChild(nodee) }));上面这个图片无法正常显...
来源: Laya_社区 发布时间: 20211026
...{ com} from "../libs/protobuf/area.js"; export function testProto():void { console.log("call testProto"); var ProtobufUtil = com.bee.protobuf; let msg = ProtobufUtil.ProtoArea.create(); let buffer = ProtobufUtil.ProtoArea.encode(msg).finish(); let decode = ProtobufUtil.ProtoArea.decode(buffer); cons...
来源: Laya_社区 发布时间: 20171115
... // lv.addChild(sp); // console.log("添加预制体"); // })); self.camera = scene3d.getChildByName("--- ENVIRONEMENT ---").getChildByName("Main Camera"); self.scene = scen...
来源: Laya_社区 发布时间: 20220506
...Child(m_talkScroll); // this.onAction(); // this.onAction = function(){ // console.log("-------------hhhhhhhhhhh "); // } //第一种解决方法 onAction(); function onAction(){ console.log("这是第一种解决方法"); } //第二种解决方法 this.onAction(); } Laya.class(NpcLayer,"NpcLayer",_...
来源: Laya_社区 发布时间: 20171127
...vate tiledMap: Laya.TiledMap; private sp:Laya.Sprite; constructor(){ console.info("start"); this.init(); } init():void{ Laya.init(800, 700, Laya.WebGL); Laya.loader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } onLoaded(){ conso...
来源: Laya_社区 发布时间: 20171125