大约有 7,352 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0133 秒)
Laya_社区(6641) Laya2.0_文档(183) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya3.0_文档(75) Laya2.0_示例(57)
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser...
来源: Laya_示例 发布时间: 20250221
...angZi/PangZi-doubipangzi.lm"], Laya.Handler.create(this, onComplete)); var sprite3d1; var sprite3d2; var sprite3d3; var sprite3d4; var sphereMesh; var str5 = "旁白 : 秀恩爱,死得快! (MeshCollider)"; function onComplete(){ //添加精灵到场景 sprite3d1 = scene.addChild(new Laya.MeshSpr...
来源: Laya_示例 发布时间: 20250221
...ts Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarc...
来源: Laya2.0_api 发布时间: 20190513
...agelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...
来源: Laya2.0_api 发布时间: 20190513
...ackagelaya.uiClasspublic class ColorPickerInheritanceColorPicker Component Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Property...
来源: laya_api 发布时间: 20170929
...thods | Events Packagelaya.uiClasspublic class ViewInheritanceView Scene Sprite Node EventDispatcher ObjectSubclasses Dialog, MoreGame View 是一个视图类,2.0开始,更改继承至Scene类,相对于Scene,增加相对布局功能。 Public Properties Hide Inherited Public Properties Sho...
来源: Laya2.0_api 发布时间: 20190513
...ckagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button Component Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...
来源: laya_api 发布时间: 20170929
... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...
来源: laya_api 发布时间: 20170929
sprite添加texture后,sprite无法触发点击事件? this.item.graphics.drawTexture(Laya.loader.getRes(IMG_RES[this.name])); Laya.stage.addChild(this.item); this.item.on(Laya.Event.CLICK, this, () => { this.item.destroy(); }); 2017-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170826
...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_Container { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV ...
来源: Laya2.0_示例 发布时间: 20250221