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

大约有 460 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)

121. Laya.sprite.on 绑定事件传参数的问题 [ 76%]

Laya.sprite.on 绑定事件传参数的问题 on () method  public function on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type:String ...

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

122. laya.utils.TimeLine_API3.0 [ 76%]

... Hierarchy EventDispatcher TimeLine Index Properties scale Accessors total Methods addLabel destroy event from gotoLabel gotoTime hasListener off offAll offAllCaller on once pause play removeLabel reset resume to from to Properties scale scale: number = 1 Defined in laya/utils/TimeLine.ts:45 缩放...

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

123. laya.physics.joint.MotorJoint [ 76%]

...ges | All Classes | Index | Frames No Frames MotorJointProperties | Methods Packagelaya.physics.jointClasspublic class MotorJointInheritanceMotorJoint JointBase Component Object 马达关节:用来限制两个刚体,使其相对位置和角度保持不变 Public Properties Hide Inherited...

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

124. Laya.Timer.clear 的源码可能有个问题。 [ 76%]

...其他相同Handler一起清除。 相关源码如下:[i] clear(caller, method) { //这部分是源码 var handler = this._getHandler(caller, method); if (handler) { this._map[handler.key] = null; handler.key = 0; handler.clear(); } }[/i] 如果确是问题,可以考虑改一下,如果不是...

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

125. Timer Handler被覆盖 [ 75%]

Timer Handler被覆盖   class Timer   _getHandler(caller, method) { var cid = caller ? caller.$_GID || (caller.$_GID = ILaya.Utils.getGID()) : 0; var mid = method.$_TID || (method.$_TID = (Timer._mid++) * 100000); return this._map[cid + mid]; }   当游戏玩的功能多时间长了,随着cal...

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

126. laya.d3.physics.PhysicsComponent [ 75%]

... All Classes | Index | Frames No Frames PhysicsComponentProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsComponentInheritancePhysicsComponent Component ObjectSubclasses CharacterController, PhysicsTriggerComponent PhysicsComponent 类用于创建物理组件的父类。 Pub...

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

127. laya.resource.Resource_API3.0 [ 75%]

...uMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Properties _id _id: number = 0 ...

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

128. laya.physics.Physics_API3.0 [ 75%]

...tyIterations world PIXEL_RATIO Accessors allowSleeping gravity worldRoot I Methods event getBodyCount getContactCount getJointCount hasListener off offAll offAllCaller on once start stop updatePhysicsByWorldRoot enable Constructors constructor new Physics(): Physics Defined in laya/physics/Physics.t...

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

129. laya.net.HttpRequest [ 75%]

...es | All Classes | Index | Frames No Frames HttpRequestProperties | Methods | Events Packagelaya.netClasspublic class HttpRequestInheritanceHttpRequest EventDispatcher Object HttpRequest 通过封装 HTML XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST ...

来源: laya_api 发布时间: 20170929

130. laya.d3.physics.CharacterController [ 75%]

...ll Classes | Index | Frames No Frames CharacterControllerProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class CharacterControllerInheritanceCharacterController PhysicsComponent Component Object CharacterController 类用于创建角色控制器。 Public Properties Hide In...

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