大约有 492 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
... 200; private Y_OFFSET: number = 80; private skins: any[]; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.skins = ["resources/res/ui/radioButton (1).png", "resources/res/ui/radioButton (2).png",...
来源: Laya3.0_文档 发布时间: 20251016
...tends Laya.Script { // 设置单例 static instance: Main; constructor() { super(); Main.instance = this; } @property({type:Laya.Sprite3D}) private target: Laya.Sprite3D; @property({type:Laya.UI3D}) private ui3d: Laya.UI3D; public animator: Laya.Animator; onEnable() { // 广告牌模式 this.ui3d.bi...
来源: Laya3.0_文档 发布时间: 20251010
...:boolean; private twoFirst:boolean; constructor(){ super(); this._scene = null; this._text = null; this._camera = null; this.rotation = new Laya.Vector3(0, 0.01, 0); this.lastPosition = new Laya.Vector2(0, 0); this.di...
来源: Laya_社区 发布时间: 20190531
...:boolean; private twoFirst:boolean; constructor(){ super(); this._scene = null; this._text = null; this._camera = null; this.rotation = new Laya.Vector3(0, 0.01, 0); this.lastPosition = new Laya.Vector2(0, 0); this.di...
来源: Laya_社区 发布时间: 20190605
...前修改有效,兼容ui constructor() { super(); this.once(Laya.Event.DISPLAY, this, this.onCreate); this.once(Laya.Event.UNDISPLAY, this, this.onDestroy); } /** * 加入场景 */...
来源: Laya_社区 发布时间: 20181114
...MonkeyScript extends Laya.Script3D{ constructor(){ super(); this.scene = null; this.text = null; this.camera = null; this.lastPosition = new Laya.Vector2(0, 0); this.distance = 0.0; ...
来源: Laya_社区 发布时间: 20190531
...: {"name": "render", "right": "0", "left": "0"}}; function Item() { Item.__super.call(this); this.right = 0; this.left = 0; var selectBox = new Clip("../../res/ui/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; //设置 selectBox 的name 为“selectBox”时,将被识别为树结...
来源: Laya2.0_文档 发布时间: 20210715
...er", "right": "0", "left": "0"}}; class Item extends Box { constructor() { super(); this.right = 0; this.left = 0; var selectBox: Clip = new Clip("res/ui/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox";//设置 selectBox 的name 为“selectBox”时,将被识别为树结构的项的...
来源: Laya2.0_文档 发布时间: 20210714
... = "data"; constructor(decorate?:Decorate) { super(); this.mDecorate = decorate || new Decorate(this); this.pomelo = new Pomelo(); this.configuration(); } /** 配置*/ private conf...
来源: Laya_社区 发布时间: 20161109
... = target.angel.level; // 构造 function IsLand() { // 初始化 IsLand.__super.call(this); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 t...
来源: Laya_社区 发布时间: 20170720