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

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

2581. laya.ui.Box [ 43%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxProperties | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box ...

来源: Laya2.0_api 发布时间: 20190513

2582. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 43%]

...ya/d3/core/particleShuriKen/ShurikenParticleSystem" ShurikenParticleSystem Class ShurikenParticleSystem ShurikenParticleSystem 类用于创建3D粒子数据模板。 Hierarchy GeometryElement ShurikenParticleSystem ShurikenParticleInstanceSystem Implements IClone Index Constructors constructor Prope...

来源: Laya3.0_api 发布时间: 20231115

2583. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 43%]

... from "../Const"; import UIMain from "../ui/Game/UIMain";  export default class GameWnd extends BaseWin {     public view: UIMain;     /** 角色 */     private character: Laya.Sprite     /** 角色刚体*/     private rig: Laya.RigidBody     /** 医疗包*/     private addhp: Laya.Sp...

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

2584. 分享:截屏! [ 43%]

... laya.utils.Browser;     import laya.webgl.WebGL;          public class LayaAirDemo {         private var sp:Sprite ;         public function LayaAirDemo() {             //初始化引擎             Laya.init(Browser.width, Browser.height,WebGL);        ...

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

2585. 如何监听移动端软键盘的弹出和收回? [ 43%]

...xtField; import flash.text.TextFieldType; import flash.ui.Keyboard; public class TextInput extends Sprite { private var textInput:TextField; private var sourceWidth:Number; private var sourceHeight:Number; public function TextInput() { //转换成h5项目后获取浏览器的宽度 //[IF-JS]sourceWi...

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

2586. laya3D导入动画材质在安卓手机和电脑上显示正常,在苹果手机显示异常 [ 43%]

...9-12-16 11:24 浏览: 2130 关注: 2 人 执迷不悟 • 2019-12-16 11:20 class AnimatorDemo { private scene:Laya.Scene3D; resource constructor() { //初始化引擎 Laya3D.init(0, 0); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //开...

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

2587. 2.0版本可用的CameraMoveScript.ts [ 43%]

....0,跟示例里效果一样的文件:   /** * ... * @author */ export class CameraMoveScript extends Laya.Script {      /** @private */     protected _tempVector3: Laya.Vector3 = new Laya.Vector3();     protected lastMouseX: number;     protected lastMouseY: number;     pro...

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

2588. Cannot find module Roaming\npm\node_modules\layaair2-cmd\layaair2-cmd.js [ 43%]

...用会报错 如何获取animation的node节点? Uncaught Can not find class Laya.Text layaair2-cmd 编译bug 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 2.0.0编译报错Can...

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

2589. 鼠标交互-键盘交互 [ 43%]

...a.events.Event; import laya.utils.Browser; import laya.webgl.WebGL; public class Interaction_Keyboard { private var logger:Text; private var keyDownList:Array; public function Interaction_Keyboard() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebG...

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

2590. 分享-js资源进度加载 [ 43%]

分享-js资源进度加载 var ui_Socket: Socket; // 程序入口 class GameMain { //进度UI Progress: Progress; Socket: Socket; arr = [ { url: "images/1.jpg", type: Laya.Loader.IMAGE } , { url: "images/2.jpg", type: Laya.Loader.IMAGE } , { url: "images/3.jpg", type: Laya.Loader.IMAGE } , { url: ...

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