大约有 244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
...Very long string[28528381]>,encoding=216041A1 <undefined>) 2: new constructor(aka Buffer) [buffer.js:~75] [pc=7B6A4B9C](this=7AE742C1 <a Buffer with map 3D42E605>,arg=7AE742AD <Very long string[28528381]>,encodingOrOffset=216041A1 <undefined>,length=216041A1 <undefined&...
来源: Laya_社区 发布时间: 20191225
...d(text);//将 text 添加到显示列表。 } example class Text_Example { constructor() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.onInit(); } private onInit(): void { var text: laya.display.Text = new laya...
来源: Laya3.0_api 发布时间: 20231115
...Tab 和 RadioGroup 的基类。 Hierarchy Box UIGroup RadioGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchor...
来源: Laya3.0_api 发布时间: 20231115
...上@property()。 @property( { type : String } ) public text: string = ""; constructor() { super(); } } 5、Runtime的使用差异 3.0的场景与2.0完全不是一个概念, 3.0的runtime只能在场景上的2D根节点Scene2D或预制体的根节点上设置,其它的子级节点,不再支...
来源: Laya3.0_文档 发布时间: 20251010
...tends Laya.Script { @property({ type: Laya.Sprite3D }) sp3: Laya.Sprite3D; constructor() { super(); } onEnable() { console.log("Game onStart", this.sp3.name); } } 除非有特别的需求,我们并不建议这样做,一方面是因为静态物体更有利于IDE内进行编辑。另一方面是...
来源: Laya3.0_文档 发布时间: 20251010
...10 10:39 export class ShopTitle extends Laya.Script{ public title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya.StandardMaterial(); sprite3DMat.cull = Laya.BaseM...
来源: Laya_社区 发布时间: 20180814
....ui.HScrollBar Hierarchy UIComponent ScrollBar VScrollBar HScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough nam...
来源: Laya3.0_api 发布时间: 20231115
...所以在3.0里请忽略这个继承。 Hierarchy Scene View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet activ...
来源: Laya3.0_api 发布时间: 20231115
...ntClip.value = "a1326";//显示"a1326"文字 Hierarchy Clip FontClip Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anch...
来源: Laya3.0_api 发布时间: 20231115
...个连接,但稍微做了修改: // 程序入口 class GameMain{ constructor(){ var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var ProtoBuf = Browser.window.protobuf; Laya.init(550, 400...
来源: Laya_社区 发布时间: 20170216