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

大约有 80 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0047 秒)

51. 如何启用摇一摇 [ 57%]

... last_z = 0;'); __JS__('var canShake = 1'); __JS__('if (window.DeviceMotionEvent){window.addEventListener("devicemotion", deviceMotionHandler, false)'); __JS__('}else{alert("你的设备不支持DeviceMotion事件");}'); __JS__('function deviceMotionHandler(eventData){var acceleration = eventData.ac...

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

52. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 57%]

...示ExpandPage界面)package game { import laya.display.Sprite; import laya.events.Event; public class Btn { private var _owner:Sprite; private var _isScal:Boolean; public function Btn() { trace("btn的附加类已经开始执行"); } //设置owner函数,可以直接获取到Button组件的实例 p...

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

53. laya.events.Keyboard [ 56%]

...All Classes | Index | Frames No Frames KeyboardConstants Packagelaya.eventsClasspublic class KeyboardInheritanceKeyboard Object Keyboard 类的属性是一些常数,这些常数表示控制游戏时最常用的键。 Public Constants ConstantDefined By  A : int = 65[static] 与 A 键的键...

来源: laya_api 发布时间: 20170929

54. laya.events.Keyboard [ 56%]

...All Classes | Index | Frames No Frames KeyboardConstants Packagelaya.eventsClasspublic class KeyboardInheritanceKeyboard Object Keyboard 类的属性是一些常数,这些常数表示控制游戏时最常用的键。 Public Constants ConstantDefined By  A : int = 65[static] 与 A 键的键...

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

55. laya.device.media.Video [ 56%]

... All Classes | Index | Frames No Frames VideoProperties | Methods | Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持的所有事件参见...

来源: laya_api 发布时间: 20170929

56. laya.device.media.Video [ 55%]

... All Classes | Index | Frames No Frames VideoProperties | Methods | Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持的所有事件参见...

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

57. socket大型项目回调 [ 49%]

...odule PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; private JS_WS_CLIENT_TYPE:string = 'js-websocket'; pr...

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

58. laya.ui.ScrollBar [ 49%]

...l Classes | Index | Frames No Frames ScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class ScrollBarInheritanceScrollBar Component Sprite Node EventDispatcher ObjectSubclasses HScrollBar, VScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示区...

来源: laya_api 发布时间: 20170929

59. laya.ui.ScrollBar [ 48%]

...l Classes | Index | Frames No Frames ScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class ScrollBarInheritanceScrollBar UIComponent Sprite Node EventDispatcher ObjectSubclasses HScrollBar, VScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示...

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

60. [LayaAir3]LayaAir3.0UnityPlugin 导出出错 [ 48%]

...Verify that all layout Begin/End calls match UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)  MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not dest...

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