大约有 434 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0037 秒)
Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya_社区(55) Laya2.0_示例(8) Laya_示例(7) Laya2.0_文档(6) Laya3.0_文档(5)
...有效果。 ```typescript package { import laya.display.Text; import laya.events.Event; import laya.utils.Browser; import laya.webgl.WebGL; public class Text_Scroll { private var txt:Text; private var prevX:Number = 0; private var prevY:Number = 0; public function Text_Scroll() { // 不支持WebGL...
来源: Laya2.0_文档 发布时间: 20210715
...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...
来源: Laya3.0_api 发布时间: 20231115
...ootBone){ this._cacheRootBone.transform.off(/*laya.events.Event.TRANSFORM_CHANGED*/"transformchanged",this,this._boundChange); 这里的this._cacheRootBone非空,但是上面transform是空的 这个精灵是 SkinnedMeshRenderer绑定的RootBone的对象。 下面是...
来源: Laya_社区 发布时间: 20191015
...事件 关于遍历产生的sprite的点击事件,急,大神帮看哈 event自定义事件的问题 鼠标滚轮滚动事件 点击事件不起效 微信小游戏与加载图片时不会触发erroe事件 图片添加点击事件 有的不生效 遮罩点击事件 List滑动条会引起单元格...
来源: Laya_社区 发布时间: 20181029
... Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):voi...
来源: laya_api 发布时间: 20170929
... Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):voi...
来源: Laya2.0_api 发布时间: 20190513
...t module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class HelloLayabox { private txt: Text; private prevX: number = 0; private prevY: number = 0; constructor(){ // 不支持WebGL时自动切...
来源: Laya2.0_文档 发布时间: 20210715
...javascript (function() { var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var txt; var prevX = 0; var prevY = 0; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL...
来源: Laya2.0_文档 发布时间: 20210714
... addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeC...
来源: Laya3.0_api 发布时间: 20231102
陀螺仪接口问题 Laya.Gyroscope.instance.off(Laya.Event.CHANGE,this,this.test) 调用off方法但是没有生效 还是一直在走on方法去监听陀螺仪旋转 2018-01-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180127