大约有 793 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0047 秒)
Laya_社区(496) Laya3.0_api(119) Laya2.0_api(72) Laya2.0_文档(29) laya_api(24) Laya3.0_文档(24) Laya_示例(21) Laya2.0_示例(8)
... export default class BindSkeleton extends Laya.Skeleton { private __bindList:BindSource[]; constructor(){ super(); this.__bindList=[]; } /** * 绑定 * @param source */ bind(source:BindSource):void{ let index:number=this.__bindList.indexOf(source); if(index<0){ this.__bindList.push(...
来源: Laya_社区 发布时间: 20190805
...? fish.scoreItem = new Laya.Image(); fish.scoreItem.skin = "assets/ui_imgs/img_10103.png"; fish.scoreItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox()...
来源: Laya_社区 发布时间: 20180517
...找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 c__yh 赞同来自: 自定义布局好的界面 addChind后 有时能显示 是时候不能显示 版本是1.7.18 自定义布局 addChind后 有时候正常 有时候就很奇怪了 X不见了 ...
来源: Laya_社区 发布时间: 20180627
...Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; this.upVector3 = new Laya.Vector3(0, 1, 0); //预加载所有资源 let resource = ["Export/LayaScene_JJF/C...
来源: Laya_社区 发布时间: 20190531
... Laya.init(stageWidth, stageHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { initMatter(); initWorld(); Laya.stage.on("resize", this, onResize); } functi...
来源: Laya_示例 发布时间: 20250221
...torInfo="compId=1"> <Image y="46" x="0" width="687" skin="setting/gd2_n.png" sizeGrid="30,30,30,30" height="402" editorInfo="compId=4"> <Image y="0" x="241.5" skin="setting/log18-5_n.png" editorInfo="compId=2"> <Image y="3" x="8" skin="setting/log21_n.png" editorInfo="compId=3"/>...
来源: Laya_社区 发布时间: 20170221
...rchy ColliderBase CircleCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor radius restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded...
来源: Laya3.0_api 发布时间: 20231115
...形,多边形) Hierarchy HitArea Implements IHitArea Index Properties _hit _unHit Accessors hit unHit Methods contains onAfterDeserialize Properties _hit _hit: Graphics Defined in laya/utils/HitArea.ts:17 _unHit _unHit: Graphics Defined in laya/utils/HitArea.ts:18 Accessors hit get hit(): Graphi...
来源: Laya3.0_api 发布时间: 20231115
...ya.init(viewWidth, viewHeight, WebGL); Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Stage.SCALE_NOBORDER; // create a background texture Laya.stage.loadImage("../../res/pixi/laserBG.jpg"); Laya.stage.frameLoop(1, this, animate); })(); function animate() { if (tick > freque...
来源: Laya_示例 发布时间: 20250221
...增? fish.scoreItem = new Laya.Image(); fish.scoreItem.skin = "assets/ui_imgs/icon_00313.png"; fish.scoreItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox(...
来源: Laya_社区 发布时间: 20180517