• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 492 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)

451. 单选框组容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

... 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

452. 使用3D UI · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...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

453. 加载.lh文件 运行后黑屏 无法显示 [ 34%]

...: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

454. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 34%]

...: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

455. 微信小游戏渲染开放域卡顿处理 [ 33%]

...前修改有效,兼容ui         constructor() {             super();             this.once(Laya.Event.DISPLAY, this, this.onCreate);             this.once(Laya.Event.UNDISPLAY, this, this.onDestroy);         }         /**          * 加入场景          */...

来源: Laya_社区 发布时间: 20181114

456. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 32%]

...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

457. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 31%]

...: {"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

458. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 31%]

...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

459. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 31%]

... = "data";         constructor(decorate?:Decorate) {             super();             this.mDecorate = decorate || new Decorate(this);             this.pomelo = new Pomelo();             this.configuration();         }         /** 配置*/         private conf...

来源: Laya_社区 发布时间: 20161109

460. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 30%]

... = 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