• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,174 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)

401. 预制体添加刚体后,和其它刚体碰撞后不能修改角度和位置 [ 70%]

...  {         var n=this.owner.rotation;         if(other.label === "heng"){             console.log("角度"+this.owner.rotation);             this.owner.rotation=180-n;             console.log("角度"+this.owner.rotation);         } ...

来源: Laya_社区 发布时间: 20200817

402. 继承Scene没有onEnable [ 70%]

...问如何使我的自定义类UIDropBox继承Laya.Sprite? 自己写了个label继承官方的label,出现了问题,求指导~ layaMaxUI里面永远只会生成一个TestSceneUI,其他自定义的scene不会导出 运行报错 Uncaught Can not find scene:GameView.scene undefined Laya.Scene.open...

来源: Laya_社区 发布时间: 20190701

403. ComboBox显示问题 [ 70%]

... public var checkBox:CheckBox; public var gongji:Button; public var btn1HasLabel:Button; public static var uiView:Object = {"type": "View", "props": {"x": "0", "y": "0", "width": 388, "height": 376}, "child": [{"type": "ComboBox", "props": {"var": "combox", "stateNum": "1", "x": 7, "y": 146, "width"...

来源: Laya_社区 发布时间: 20180327

404. laya.physics.EdgeCollider_API3.0 [ 70%]

...llider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisab...

来源: Laya3.0_api 发布时间: 20231115

405. [LayaAir2]微信小游戏上measureText返回文本宽度不对 [ 70%]

...小游戏上measureText返回文本宽度不对 创建两个参数一样的label,文本是否一样不影响。 在浏览器的效果是正常的,在微信小游戏端可以看到第二个文本的位置偏了。 看着是 measureText返回的宽度有问题。如果两个label的font不一样...

来源: Laya_社区 发布时间: 20241126

406. laya.physics.BoxCollider_API3.0 [ 70%]

...llider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction height hideFlags id isSensor restitution width x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy o...

来源: Laya3.0_api 发布时间: 20231115

407. 能不能切换编辑器的坐标系,将其变成笛卡尔坐标系~~~ [ 70%]

...应该如何在代码中手动让他停止下来,不再播放 ui编辑器label怎么设置行间距 MornUI编辑器界面,转到h5后部分组件为null 为什么在编辑器模式下正常的animation, 运行时播放就会丢失内容? 用IDE编辑器编辑好label,想弄点击文字变...

来源: Laya_社区 发布时间: 20180209

408. []radioGroup能换行吗? [ 70%]

...定, 无法添加新回复 发起人 taisss 相关问题 radioGroup设置labels后,每个radio的icon皮肤无法显示了 LayaIDE可以设置多个实例运行吗?方便网游项目可以多账号调试功能 怎么才能让导出的皮肤不要默认Laya模块?我要用自定义的模块不...

来源: Laya_社区 发布时间: 20170512

409. laya.physics.PolygonCollider_API3.0 [ 70%]

...llider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisab...

来源: Laya3.0_api 发布时间: 20231115

410. Psd2UI(TypeScript-IDE篇(TS)-使用IDE创作) [ 70%]

...类型统统为image,这一点和IDE的编辑器一致; 2,除box和Label特殊一些,其他的都和IDE的ui命名规则一致,前缀或后缀; 3,控件都需要按照前缀,后缀规则命名,3态如下图,要建立子文件夹 normal,over,down 4,Container_前缀会识别...

来源: Laya2.0_文档 发布时间: 20210715