大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
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
...ya/d3/core/particleShuriKen/ShurikenParticleSystem" ShurikenParticleSystem Class ShurikenParticleSystem ShurikenParticleSystem 类用于创建3D粒子数据模板。 Hierarchy GeometryElement ShurikenParticleSystem ShurikenParticleInstanceSystem Implements IClone Index Constructors constructor Prope...
来源: Laya3.0_api 发布时间: 20231115
... 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
... 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
...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
...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
....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
...用会报错 如何获取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
...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
分享-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