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

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

131. List翻页效果怎么实现 [ 57%]

...fo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateIte...

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

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

....addChild(this.text); } } //激活启动类 new Main(); class MonkeyScript extends Laya.Script3D{     private _scene:Laya.Scene3D;     private _text:Laya.Text;     private _camera:Laya.Camera;     private rotation:Laya.Vector3;     private lastPosition:Laya.Vector2;     priva...

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

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

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

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

...ild(this.text); } } //激活启动类 new MultiTouch(); class MonkeyScript extends Laya.Script3D{     private _scene:Laya.Scene3D;     private _text:Laya.Text;     private _camera:Laya.Camera;     private rotation:Laya.Vector3;     private lastPosition:Laya.Vector2;     priva...

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

135. 请问LayaAirUnityPlugin 1.1.0.unitypackage导出的.lsani文件怎么使用? [ 57%]

...为加载代码,请问这样使用是否正确:     class ShuiPao extends Sprite3D {         constructor() {             super();             let mesh = Sprite3D.load('resources/shuipao.lh');             this.addChild(mesh);             mesh....

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

136. 其他引擎的Demo-Example_23 [ 57%]

...rement the ticker tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }

来源: Laya2.0_示例 发布时间: 20241001

137. 自定义组件用的layaeditor.d.zip报错 [ 57%]

...上论坛求助了。 比如这么一个报错的地方: class Component extends laya.ui.Component implements laya.ui.IComponent { _getBoundPointsM(ifRotate?: boolean): Array<any>; disableLayout: boolean; protected resetLayoutX(): void; protected resetLayoutY(): void; } 类laya.ui.Component ...

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

138. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 56%]

...fo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateIte...

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

139. 一个简单的跑酷曲面shader分享 [ 56%]

...写,就写这个shader练练手~   export default class CurveBlinnPhong extends Laya.BlinnPhongMaterial { public readonly MAIN_TEX: number = Laya.Shader3D.propertyNameToID("u_MainTex"); public readonly X_OFFSET: number = Laya.Shader3D.propertyNameToID("u_XOffset"); public readonly Y_OFFSET: numbe...

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

140. 其他引擎的Demo-Example_23 [ 56%]

...rement the ticker tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }

来源: Laya_示例 发布时间: 20241001