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

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

281. 两个移动的简单物体 onTriggerEnter 无法触发 (有悬赏) [ 58%]

...体移动时候重合但是无法触发onTriggerEnter,   export default class BulletControlTrigger extends Laya.Script3D { constructor(){ super(); }  /** * 开始触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other){ console.log("onTriggerEnter"); };  on...

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

282. LayaAir3D导出scene 报错 [ 58%]

...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)   附件 : --> 2018-11-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...

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

283. Vbox的问题 [ 58%]

...怎么不能排列 https://layaair.ldc.layabox.com/api/?category=UI&class=laya.ui.LayoutBox#changeItems() 父类重写sortitem方法 能实现你需求吗,有问题再反馈 2018-03-02 0 6 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

284. [LayaAir3]V3.2 | 调试结果不一致,导致无法判断结果? [ 58%]

...Air3]V3.2 | 调试结果不一致,导致无法判断结果? const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {   testData = new Laya.Vector3(1, 1, 1);   @property(Laya.Camera)   camera: Laya.Camera;    onStart() {     //@ts-ignore     window.camer...

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

285. 加载TiledMap 不显示 [ 58%]

... import Handler = Laya.Handler; import WebGL = Laya.WebGL;  export class TiledMap_IsometricWorld {     private tiledMap: TiledMap;     private layer: MapLayer;     private sprite: Sprite;      constructor ()     {         // 不支持WebGL时自动切换...

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

286. 加了两个遮罩后的动画,帧频只有10了,有demo,有项目,有源码 [ 58%]

...dfirecode/Laya_Mask_Demo 源码 https://github.com/wildfirecod ... le.ts  class GameMain{ constructor() { Laya.init(1920,950,Laya.WebGL); Laya.Stat.show(); const container = new Laya.Sprite(); Laya.stage.addChild(container); const mask = new Laya.Sprite(); mask.graphics.drawPoly(0, 0, [0, 0, 484, 0...

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

287. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 58%]

...题。 2018-05-08 0 0 分享 微博 QZONE 微信 Miller 赞同来自:   class Item extends Laya.Box {   public static WID: number = 600; public static HEI: number = 85; private img: Laya.Image;         //private text: Laya.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this...

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

288. Image加载完成后的图片大小重设问题 [ 58%]

...效,一直显示都是原来设定的大小。示例代码如下:   class PlayGame extends ui.PlayGameUI {     constructor() {         super();        init();     }     public init ():void     {         this.bg_img.loadImage("ui/bg.jpg",0,0,Laya.stage.width,Laya.stage.height...

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

289. downloadFile:fail url scheme is invalid [ 58%]

...致Templet删不掉 关于页面访问 url 带参 疑问 ? laya 2.0class创建scene, 实例 的 url属性为null, layaAir 运行了url地址会停止当前运行 发布小游戏时提示:[xmldom error] element parse error: Error: invalid tagName: 问题状态 最新活动: 2019-02-14 17:02 浏...

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

290. Image.loadImage 方法加载问题 [ 58%]

...publicSpaceData = cell.dataSource; } module gamepublicspaceitem {  export class PublicSpaceItem extends Laya.Box  {   public static BTN_ENTRER_CLICK:string = "BtnEnterClick";   public _publicSpaceData:datasheet.PublicSpaceData;   private bg:Laya.Image;   private btnEnter:Laya.Button;   c...

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