大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
Laya_社区(1068) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(109)
API DocumentationAll Packages | All Classes | Index | Frames No Frames CollisionUtilsMethods Packagelaya.d3.mathClasspublic class CollisionUtilsInheritanceCollisionUtils Object Collision 类用于检测碰撞。 Public Methods MethodDefined By CollisionUtils() 创建一个 Collision 实...
来源: Laya2.0_api 发布时间: 20190513
...s.outHitInfo.distance 一直等于-1? -------------------------------- class RoleControlScript extends Laya.Script{ /*角色模型*/ public roleModel:Laya.Sprite3D; /*角色动画组件*/ public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画...
来源: Laya_社区 发布时间: 20171113
...r :Terry * Created: 2017-08-07 09:44:25 */ export class ProtoPool { private static _dic: Laya.Dictionary; public static PROTO_HEAD: string = "proto_Head"; public static PROTO_BINARY_REQUEST: string = "proto_BinaryRequest"; publ...
来源: Laya_社区 发布时间: 20170807
...就几个函数,自行扩展另说,拿我自己的先抛个砖declare class PomeloClient { init(params:any, cb?:Function); request(route:string, msg?:any, cb?:Function); notify(route:string, params:any); on(event:string, cb:Function); off(event:string, cb:Function); disconnect(); } 我也是初...
来源: Laya_社区 发布时间: 20180109
... at Function.eof (http://127.0.0.1:53462/game/code.js:93141:69) at Class (http://127.0.0.1:53462/game/code.js:93649:37) at Type.get (http://127.0.0.1:53462/game/code.js:98613:48) at Type.create (http://127.0.0.1:53462/game/code.js:98776:20) at onAssetsLoaded (http://127.0.0...
来源: Laya_社区 发布时间: 20180302
API DocumentationAll Packages | All Classes | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics Object Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合sav...
来源: Laya2.0_api 发布时间: 20190513
...play.Sprite; import laya.renders.Render; import laya.utils.Browser; public class Retitution extends Sprite { private const stageWidth:int = 800; private const stageHeight:int = 600; private var Matter:Object = Browser.window.Matter; private var LayaRender:Object = Browser.window.LayaRender; private ...
来源: Laya_社区 发布时间: 20171214
...t laya.utils.Handler; import ui.TestDialogUI; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var _path2:Sprite = new Sprite(); private var arr:Array = ; private var ...
来源: Laya_社区 发布时间: 20171129
...,方法与web发布略有不同,加载代码示例如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundNodeProperties | Methods | Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properti...
来源: laya_api 发布时间: 20170422