大约有 1,764 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0058 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(86) Laya2.0_api(67) laya_api(64)
... <code>Component3D</code> 类用于创建组件的父类。 */ class Component3D extends laya.events.EventDispatcher implements laya.d3.core.render.IUpdate { protected static _uniqueIDCounter: number; protected _id: number; protected _cachedOwnerLayerMask: number; protected _cachedOwnerE...
来源: Laya_社区 发布时间: 20171109
..."../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(thi...
来源: Laya_社区 发布时间: 20170215
...function/", 运行报错 gameContext?id=1:58 libs/laya.ui.js: TypeError: Class constructor Component cannot be invoked without 'new' at new Widget (laya.ui.js:201) at laya.ui.js:349 at laya.ui.js:1 at wrapFn (gameContext?id=1:51) at require (VM505 WAGameSubContext.js:2) at a (VM505 WAGameSubContex...
来源: Laya_社区 发布时间: 20210716
...t laya.net.Socket; import laya.utils.Byte; import laya.webgl.WebGL; public class Game { private var socket:Socket; private var byte:Byte; public function Game() { //初始化引擎 Laya.init(600, 400,WebGL);// this.byte = new Byte(); this.byte.endian = Byte.LITTLE_ENDIAN;//这里我们采用小端...
来源: Laya2.0_文档 发布时间: 20210715
...,{fillStyle: "#ff0000"},{"strokeStyle":"#ffffff","lineWidth":"1"}); } Laya.class(login,"login",_super); var _proto = login.prototype; return login; })(Laya.Sprite); 2017-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...
来源: Laya_社区 发布时间: 20170806
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ComboBox)。 ComboBox 组件的图像资源示例:  (图1) 设置 ComboBox 的属性 labels 的值为 “label1,label2” 后,显示效果如下: 常态: ...
来源: Laya2.0_文档 发布时间: 20210714
...cript3D的脚本,将脚本作为组件添加到精灵上。) ```typescript class colliderCheck extends Script3D{ /** * 开始触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other) { console.log("triggerEnter"); } /** * 持续触发时执行 * 此方法为虚...
来源: Laya2.0_文档 发布时间: 20210715
...ya.Stat; import Templet = Laya.Templet; import Skeleton = Laya.Skeleton; class Main { constructor() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Stat.show(); //棋子动画 this.genSpine("res/spine/ludo_qizidongzuo.skel", Laya.Handler.create(this, (templet: Laya.SpineTemplet) =&...
来源: Laya_社区 发布时间: 20220530
...怎么二次开发?请指导 如,android里写了一个Test类, public class Test { private Context context; public void init(final Context context) { this.context = context; } public void msg() { Log.d("layabox", "test"); Toast.makeText(context, "测试", Toast.LENGTH_SHORT).show(); } }该如...
来源: Laya_社区 发布时间: 20180423
...,具体demo已上传附件 package { import laya.display.Sprite; public class CurveDemo { private var ball:Sprite; private var xflag:Boolean; private var v:uint=2; private var d:uint=150; public function CurveDemo() { Laya.init(800,400); ball=new Sprite(); ball.graphics.drawCircle(0,0,50,"#FF00FF...
来源: Laya_社区 发布时间: 20160424