大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...ctor3, o:Vector3):void[static] 求两个三维向量的差。 Vector3 toDefault():voidVector3 transformCoordinate(coordinate:Vector3, transform:Matrix4x4, result:Vector3):void[static] 通过矩阵转换一个三维向量到另外一个归一化的三维向量。 Vector3 TransformNormal(norm...
来源: laya_api 发布时间: 20170929
...执行域。 listener:Function — 事件侦听函数。 args:Array (default = null) — (可选)事件侦听函数的回调参数。ReturnsEventDispatcher — 此 EventDispatcher 对象。 请求发送: var hr = new HttpRequest(); hr.once(Event.COMPLETE, this, http.success,[1,2,3]); hr....
来源: Laya_社区 发布时间: 20180304
...中输入chrome://flags/#autoplay-policy 然后在高亮的选项中,将Default 换成No user gesture is required 操作步骤参照截图 2018-05-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 ...
来源: Laya_社区 发布时间: 20180509
...) { nameLabel = new Text(); nameLabel.color = "#FFFFFF"; nameLabel.text = "Default"; nameLabel.fontSize = 13; nameLabel.width = Character.WIDTH; nameLabel.align = "center"; this.addChild(nameLabel); } Character.prototype.setSpeed = function(value) { this.speed = value; } Character.prototype.setName ...
来源: Laya_示例 发布时间: 20251209
...rt); 加载场景后报上面图片的错误 GameStart 类如下: export default class GameStart extends ui.GameStartUI { constructor() { super(); this.btnStart.on(Laya.Event.CLICK, this, this.startGame); } startGame(): void { ...
来源: Laya_社区 发布时间: 20190510
...个物体移动时候重合但是无法触发onTriggerEnter, export default class BulletControlTrigger extends Laya.Script3D { constructor(){ super(); } /** * 开始触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other){ console.log("onTriggerEnter"); }...
来源: Laya_社区 发布时间: 20191215
...n Byte(data:* = null) 创建一个 Byte 类的实例。 Parameters data:* (default = null) — 用于指定初始化的元素数目,或者用于初始化的TypedArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内存空间,当可用空间不足时,优先使用这部分...
来源: laya_api 发布时间: 20170929
...又看见video这个元素有 let SoundManager = Laya.SoundManager; export default class LoginGame extends Laya.Scene { constructor() { super(); LoginGame.instance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("LoginGame.scene"); } onEnable() { SoundManager.playMusic("audio/梅...
来源: Laya_社区 发布时间: 20181124
...: 2018-03-28 10:41 浏览: 627 关注: 2 人 yyqx1122 • 2018-03-28 15:03 default.ani是先显示的,报not found可以理解,但是attack.ani是在游戏都开始之后才使用的,也会有这个提示信息,是不是你们后台的提示信息有误啊? qian • 2018-03-28 15:05 你是...
来源: Laya_社区 发布时间: 20180328
...行域。 listener:Function — 事件侦听函数。 args:Array (default = null) — 事件侦听函数的回调参数。 ReturnsEventDispatcher — 此 EventDispatcher 对象。 -----------------------------------------------分割线 ----------------------------------------------- h...
来源: Laya_社区 发布时间: 20170308