大约有 1,112 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0053 秒)
Laya_社区(423) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya_示例(32) Laya3.0_文档(25) Laya2.0_示例(14)
API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseManagerProperties | Methods | Constants Packagelaya.eventsClasspublic class MouseManagerInheritanceMouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶...
来源: Laya2.0_api 发布时间: 20190513
...a.ani.bone.Templet; import laya.events.Event; public class CombatRole extends BaseRole { private var _templet:Templet; public function CombatRole() { super(); initView(); } ...
来源: Laya_社区 发布时间: 20170204
...unction playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recoverWebAudio(); url = URL.formatURL(url); if (url == _tMusic) { if (_musicMute...
来源: Laya_社区 发布时间: 20190115
...AGame.js:14 Wechat Lib:2.0.8, 2018.5.17 17:08:32 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM698:1 gameThirdScriptError Unexpected token in JSON at position 134;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 134 at JSON.p...
来源: Laya_社区 发布时间: 20180531
...l + Alt + Shift + S打开工程设置面板,先去Modules设置一下mainClass为你的入口as类,然后设置Libraries,如下图: 然后定位到下载好的LayaAirAS引擎源码路径添加: 注意这里选择Raw ActionScript library,否则无效的。 最后去Problems哪里,随...
来源: Laya_社区 发布时间: 20170418
...d Menu Globals "laya/d3/physicsCannon/CannonRigidbody3D" CannonRigidbody3D Class CannonRigidbody3D Rigidbody3D 类用于创建刚体碰撞器。 Hierarchy CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath TY...
来源: Laya3.0_api 发布时间: 20231102
...function (_super) { function background() { background.super(this); } Laya.class(background,"background",_super); return background; })(ui.backgroundUI);backgound.ui也在场景编辑器里编辑并导出了。 然后运行的时候就会出错如下图 求解答 附件 : --> 2018-01-29 添加...
来源: Laya_社区 发布时间: 20180129
...scene1:GameScene = new GameScene(); Laya.stage.addChild(scene1); public class GameScene extends Scene { public function GameScene() { Laya.loader.create("LayaScene_01/loveScene.ls",Handler.create(this,this.completeHandler)); } private function completeHandle...
来源: Laya_社区 发布时间: 20170825
...u Globals "laya/d3/resource/MulSampleRenderTexture" MulSampleRenderTexture Class MulSampleRenderTexture MulSampleRenderTexture类用于创建多重采样渲染目标 webGL2.0多重采样才会生效 Hierarchy RenderTexture MulSampleRenderTexture Implements IRenderTarget Index Constructors constructo...
来源: Laya3.0_api 发布时间: 20231102
...port laya.display.Text; //继承自AnimatorStateScript(动画状态脚本) class AnimatorStateScriptTest extends AnimatorStateScript { private var _text:Text = null; public function get text():Text { return _text; } public function set text(value:Text):int { _text = value; } public function Animator...
来源: Laya2.0_文档 发布时间: 20210714