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

大约有 443 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)

411. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 36%]

...se"; import Notice from "../../utils/Notice"; export default class AuthReg extends ui.AuthRegUI { /** 密码临时存储 */ private _tmp_pwd: string = ""; /** 输入框数组 */ private _arrInput: Laya.TextInput = [this.input_nickname, this.input_mobile, this.input_password, this.input_repassword]; ...

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

412. HTML文本 · LayaAir3.0文档 · LAYABOX [ 36%]

...<img src='res/boy.png'></img>"; */ export class HTMLDivElement extends Sprite { 下面我们通过一些示例代码来看看运行效果: 3.1 同一个文本中设置Bold、Font、FontSize、Color、下划线 【注意:目前不支持斜体、描边、span标签内嵌的方式】 ...

来源: Laya3.0_文档 发布时间: 20230303

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

...开放域代码请勿使用该类      */     export class WXBitmap extends Laya.Sprite {         private $viewName: string;         private $texture: Laya.Texture;         private $bitmap: any;         private $timer: lie.Timer;         public auto: boolean = true;    // ...

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

414. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 35%]

...建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurikenParticleSystem: ...

来源: Laya3.0_文档 发布时间: 20240117

415. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 35%]

...面的import就没了。  无法去掉的import主要是类似 new B, extends B, instanceof B, 以及静态成员访问B.stM 这种形式 例如上面的改成 b=new B() 就真的是循环了。 对于真正的循环可以通过引入一个接口对象等方式解决。这个就要看具体项...

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

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

....addChild(this.text); } } //激活启动类 new Main(); class MonkeyScript extends Laya.Script3D{     constructor(){         super();         this.scene = null;         this.text = null;         this.camera = null;         this.lastPosition = new Laya.Vect...

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

417. 微信小游戏加载资源问题 [ 34%]

...niFileMgr.DESCENDING = 2; MiniFileMgr.NUMERIC = 16; class MiniSoundChannel extends Laya.SoundChannel { constructor(audio, miniSound) { super(); this._audio = audio; this._miniSound = miniSound; this._onEnd = MiniSoundChannel.bindToThis(this.__onEnd, this); audio.onEnded(this._onEnd); } static bindTo...

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

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

..."Box", "props": {"name": "render", "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

419. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 33%]

...ght": "0", "left": "0"}}; /****树形结构中的单元格****/ class Item extends Box { public function Item() { //实例“文件夹”背景切片对象 var selectBox:Clip = new Clip("../../../../res/ui/tree/clip_selectBox.png", 1, 2); //设置 selectBox 的name 为“selectBox”时,将被识...

来源: Laya2.0_文档 发布时间: 20210715

420. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 32%]

...: /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D), 添加物理...

来源: Laya3.0_文档 发布时间: 20240624