大约有 228 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)
Laya_社区(93) Laya3.0_api(41) Laya2.0_文档(29) Laya2.0_api(18) laya_api(17) Laya2.0_示例(12) Laya3.0_文档(9) Laya_示例(9)
...处以Box 对象为例。 **a.**从资源面板里选择拖入一个 Label 组件,到编辑区的界面里,设置 Label 属性 name 的值为 m_label。另外再设置一下 Label 的显示相关属性使它更好看一些。 **b.**选中 Label 对象,使用快捷键 Ctrl +B 或选择 ...
来源: Laya2.0_文档 发布时间: 20210715
...一个测试方法 关于HTMLCanvas 截图功能 用IDE编辑器编辑好label,想弄点击文字变色功能,发现有问题 请教 FlashBuilder如何生成二维码让手机扫描测试 如何使用list控件做一个游戏背包功能? 3D实例里面子弹射击测试,GitHub上没有吗? ...
来源: Laya_社区 发布时间: 20200505
...igidBody); rigidBody.type = "kinematic"; rigidBody.label = object.name; // 添加标签 const shape = new Laya.BoxShape2D(); shape.x = object.width / 2; shape.y = object.height / 2; shape.width = 1; shape.height = 1;...
来源: Laya_社区 发布时间: 20250403
...this, () => { ufo.play("ludo_ufo_feixing", true); }); ufo.on(Laya.Event.LABEL, this, (e) => { if (e.name == "xiaoshi") { ufo.offAllCaller(this); // ufo.removeSelf(); } }); })); } genSpine(url, handler: Laya.Handler) { var templet = new Laya.SpineTemplet(Laya.SpineVersion.v4_0); templet....
来源: Laya_社区 发布时间: 20220530
...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...
来源: Laya3.0_api 发布时间: 20231115
...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...
来源: Laya3.0_api 发布时间: 20231115
...put type="file" id="file" /> <span>上传文件</span> </label> <canvas width="300" height="300" id="canvas"></canvas> </body> <script> $("#file").change(function (){ var file = new FileReader();//读取文件2进制 file.onload = function(e){ var base64 ...
来源: Laya_社区 发布时间: 20170111
... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...
来源: Laya3.0_api 发布时间: 20231115
... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...
来源: Laya3.0_api 发布时间: 20231115
...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...
来源: Laya3.0_api 发布时间: 20231115