大约有 503 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0050 秒)
Laya_社区(426) Laya2.0_文档(30) Laya3.0_文档(15) Laya2.0_示例(8) Laya_示例(7) laya_api(7) Laya3.0_api(6) Laya2.0_api(4)
...体移动时候重合但是无法触发onTriggerEnter, export default class BulletControlTrigger extends Laya.Script3D { constructor(){ super(); } /** * 开始触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other){ console.log("onTriggerEnter"); }; on...
来源: Laya_社区 发布时间: 20191215
...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
...怎么不能排列 https://layaair.ldc.layabox.com/api/?category=UI&class=laya.ui.LayoutBox#changeItems() 父类重写sortitem方法 能实现你需求吗,有问题再反馈 2018-03-02 0 6 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20180302
...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
... 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
...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
...题。 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
...效,一直显示都是原来设定的大小。示例代码如下: 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
...致Templet删不掉 关于页面访问 url 带参 疑问 ? laya 2.0 用class创建scene, 实例 的 url属性为null, layaAir 运行了url地址会停止当前运行 发布小游戏时提示:[xmldom error] element parse error: Error: invalid tagName: 问题状态 最新活动: 2019-02-14 17:02 浏...
来源: Laya_社区 发布时间: 20181123
...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