大约有 460 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
...数 看到API文档上描述是 public function once(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 但是照这个写了 Laya.timer.once(800,this,sh,[1,3,4]) 之后,在回调函数sh 里面 收到的不是数组,请问这个正确的传参是怎么传...
来源: Laya_社区 发布时间: 20170827
...数 看到API文档上描述是 public function once(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 但是照这个写了 Laya.timer.once(800,this,sh,[1,3,4]) 之后,在回调函数sh 里面 收到的不是数组,请问这个正确的传参是怎么传...
来源: Laya_社区 发布时间: 20170827
...s | All Classes | Index | Frames No Frames ColliderBaseProperties | Methods Packagelaya.physicsClasspublic class ColliderBaseInheritanceColliderBase Component ObjectSubclasses BoxCollider, ChainCollider, CircleCollider, PolygonCollider 碰撞体基类 Public Properties Hide Inherited Public ...
来源: Laya2.0_api 发布时间: 20190513
...Packages | All Classes | Index | Frames No Frames UtilsProperties | Methods Packagelaya.utilsClasspublic class UtilsInheritanceUtils Object Utils 是工具类。 Public Properties PropertyDefined By parseXMLFromString : Function[static] 将字符串解析成 XML 对象。 UtilsPublic Met...
来源: laya_api 发布时间: 20170929
...es | All Classes | Index | Frames No Frames PulleyJointProperties | Methods Packagelaya.physics.jointClasspublic class PulleyJointInheritancePulleyJoint JointBase Component Object 滑轮关节:它将两个物体接地(ground)并彼此连接,当一个物体上升,另一个物体就会...
来源: Laya2.0_api 发布时间: 20190513
... | All Classes | Index | Frames No Frames DistanceJointProperties | Methods Packagelaya.physics.jointClasspublic class DistanceJointInheritanceDistanceJoint JointBase Component Object 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Public Properties Hide ...
来源: Laya2.0_api 发布时间: 20190513
...es | All Classes | Index | Frames No Frames LightSpriteProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建灯光的父类...
来源: Laya2.0_api 发布时间: 20190513
...axLineCount numChildren parent pixelLineRenderer scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLine addLines bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce get...
来源: Laya3.0_api 发布时间: 20231115
http 请求 once 的 回调参数,如何传递和接收? once () method public function once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知,此侦...
来源: Laya_社区 发布时间: 20180304
..._STAY EVENT_PRESS_VALUE EVENT_TOUCH_ENTER EVENT_TOUCH_OUT EVENT_TOUCH_STAY Methods destroy event hasListener off offAll offAllCaller on once Constructors constructor new ButtonGamepad(handness: string, index: number): ButtonGamepad Defined in laya/d3/WebXR/core/WebXRGamepad.ts:104 类用于创建But...
来源: Laya3.0_api 发布时间: 20231115