大约有 488 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0041 秒)
...r"; const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { @property({ type: Laya.Sprite }) public player: Laya.Sprite; @property({ type: Laya.Sprite }) public joystick: Laya.Sprite; @property({ type: Laya.Sprite }) public...
来源: Laya_社区 发布时间: 20251125
...toreTxList); 悬赏找大神看问题 export default class StoreItem extends Laya.Box { constructor() { super(); this.size(195, 210); } } 附件 : --> ListDemo.zip 2019-07-11 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20190711
...; import laya.utils.Browser; import laya.utils.HitArea; public class KouTu extends Sprite { private var box:Sprite; private var interactionArea:Sprite; private var maskArea:Sprite; private var guideContainer:Sprite; private var gameContainer:Sprite; public function KouTu() { super(); //绘制一个...
来源: Laya_社区 发布时间: 20170315
...be an Object or null: undefined at setPrototypeOf (<anonymous>) at __extends (file:///C:/Users/Administrator/Documents/Game3/bin/js/UIModule.js:6:9) at file:///C:/Users/Administrator/Documents/Game3/bin/js/LoadingModule.js:17:5 at file:///C:/Users/Administrator/Documents/Game3/bin/js/LoadingMo...
来源: Laya_社区 发布时间: 20170921
...g.ILogger; import org.as3lib.logging.Log; public class Game extends Sprite { CONFIG::debug { private static var logger:Logger = new Logger(); private var log:ILogger; } public function Game...
来源: Laya_社区 发布时间: 20200217
...import laya.utils.Byte; public class CConnector extends Socket { protected var sendBuf:Byte = null; protected var recvBuf:Byte = null; public function CConnector() { ...
来源: Laya_社区 发布时间: 20170920
...用 ui3d.sprite 获取 prefab 的根节点. export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { let sprite3d: Laya.Sprite3D = this.scene3D.getChildByName("m_Sprite3D"); let ui3d: Laya.UI3D = sprite3d.getComponent(Laya.UI3D); let ui3d_root: Laya.Sprite = ui3d.sprite; console.l...
来源: Laya_社区 发布时间: 20251020
...e.components.Box; import morn.core.handlers.Handler; public class ListView extends ListViewUI { public function ListView() { super(); var arr:Array=[]; for(var i:int=0;i<95;i++) { arr.push({icon:i,label:"Index"+i}); } boxList.array=arr; boxList.mouseHandler=new Handler(listRender); } private func...
来源: Laya_社区 发布时间: 20151224
...处理到……var classPattern = /\b(?:interface|class)\b\s+(\w+)(?:\s*(?:extends|implements)\s*((?:(?:(?:\w+\.)*(?:\w+)),?\b)+))?/; var modeuleHelp = /\b(?:namespace|module)\b\s+((?:\w\.?)+)/; var importHelp = /\bimport\b.*?=\s*((?:\w+\.?)+)/ //.exec(str)[1] var interfaceHelp = /\bimplements\b\s+(...
来源: Laya_社区 发布时间: 20171107
...rotation旋转之后检测不了碰撞 附上代码 class FishPonds extends Laya.Sprite { public are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are.width, this.are.h...
来源: Laya_社区 发布时间: 20180315