大约有 678 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0119 秒)
Laya_社区(427) Laya2.0_文档(65) Laya3.0_api(61) Laya2.0_api(57) Laya_示例(44) Laya3.0_文档(20) laya_api(4)
...leAniSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed dis...
来源: Laya3.0_api 发布时间: 20231115
...: 2083 关注: 2 人 198*****136 • 2020-09-11 16:34 export default class Scene_Battle extends Laya.Script{ playerUnitReady:number; enemyUnitReady:number; private playerUnit:Laya.Animation[]; private enemyUnit:Laya.Animation[]; constructor(){ super(); Laya.stage.alignH= Laya.Stage.ALIGN_CENTER; Lay...
来源: Laya_社区 发布时间: 20200910
HIERARCHY_LOADED函数不回调 this.sceneP = Laya.stage.addChild(Laya.Scene.load(name)) as Laya.Sprite3D; //this.sceneP.transform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3...
来源: Laya_社区 发布时间: 20180327
...rameElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight display...
来源: Laya3.0_api 发布时间: 20231102
...信 maoxiaolu 赞同来自: import { ui } from "./../ui/layaMaxUI"; import Scene3D = Laya.Scene3D; import Sprite3D = Laya.Sprite3D; /** * 本示例采用非脚本的方式实现,而使用继承页面基类,实现页面逻辑。在IDE里面设置场景的Runtime属性即可和场景进行关联 *...
来源: Laya_社区 发布时间: 20190618
...ain.ts文件中 import {ui} from './ui/layaMaxUI' // GameConfig.startScene && Laya.Scene.open(GameConfig.startScene); let view = new ui.test.TestSceneUI(); Laya.stage.addChild(view) 发现runtime也没有运行,是设计就是这样的吗? 就不传demo了 就改动上面两...
来源: Laya_社区 发布时间: 20191009
... Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 ui list 里面的元素不能点击两次 IDE1.7.8 json图集加载问题 关于适配采用showAll后留白部分的颜色问题 ...
来源: Laya_社区 发布时间: 20170823
... Particle2D Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable dest...
来源: Laya3.0_api 发布时间: 20231115
...e SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components customRenderEnable dest...
来源: Laya3.0_api 发布时间: 20231115
...要通过代码设定Clip相关的属性,就需要用到脚本了。在Scene2D的属性设置面板中,增加一个自定义组件脚本。然后,将Clip组件拖入到其暴露的属性入口中。下面给出一个示例代码,实现脚本控制Clip: const { regClass, property } = Laya; ...
来源: Laya3.0_文档 发布时间: 20251010