大约有 3,907 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)
Laya_社区(3334) Laya3.0_api(156) Laya3.0_文档(123) Laya2.0_文档(115) laya_api(90) Laya2.0_api(86) Laya_示例(2) Laya2.0_示例(1)
...台背景颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load([this.skin1,this.skin2],Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个CheckBox实例cb1 var cb1:Laya.CheckBox = new Laya.CheckBox(this.skin1); //...
来源: Laya2.0_文档 发布时间: 20210715
...leMode = "full"; Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("./res/atlas/ui.atlas", Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个UI实例 comp = new ComponentDemoUI(); //添加到舞台上显示 Laya.st...
来源: Laya2.0_文档 发布时间: 20210715
..._isScal:Boolean; public function Btn() { trace("btn的附加类已经开始执行"); } //设置owner函数,可以直接获取到Button组件的实例 public function set owner(v:Sprite):void { _owner = v; //由于时序问题,我们需要在此处添加逻辑代码,确保_owner不为null if(_i...
来源: Laya_社区 发布时间: 20161014
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: laya_api 发布时间: 20170929
...你好。下划线方法我们本意就是不公开的方法。现在严格执行这条规则。 .d.ts文件是不会提供下划线方法的。如果强行访问的话可以转换成any调用。但我们不建议这样,如果你需要访问某方法我们没有提供,可以反馈给我们。我...
来源: Laya_社区 发布时间: 20190801
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...力和团队意识; 5、具备良好的学习能力和自我驱动力,执行力强。 高级美宣原画师(广州、10-20k) 岗位职责: 1、主要负责游戏产品的高品质宣传插画、ICON等主要包装设计 2、辅助3D美术人员确认造型以及把握色彩、质感和3...
来源: Laya_社区 发布时间: 20201022
...下,在引擎示例的代码区,JavaScript版本提供在线编辑与执行功能。可以直接在浏览器中学习与体验,其它开发语言或者是想在本地开发环境中体验引擎示例的,也可以前往GitHub上去拉取示例源码, ## 四、如何获得官方的技术答...
来源: Laya2.0_文档 发布时间: 20210714
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...d&group=Physics3D&name=PhysicsWorld_BaseCollider 粘贴以下代码执行: //问题在 addSphere 方法 class PhysicsWorldBaseCollider{ constructor(){ //初始化引擎 Laya3D.init(0, 0); //设置画布模式 Laya.stage.scaleMode = Laya...
来源: Laya_社区 发布时间: 20191009