大约有 1,732 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0065 秒)
Laya_社区(615) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya2.0_api(67) laya_api(64) Laya3.0_文档(62)
... = Laya.Stat; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Skeleton_SpineEvent { private mAniPath:string; private mStartX:number = 400; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skel...
来源: Laya_示例 发布时间: 20241002
...obals "laya/d3/core/particleShuriKen/module/shape/SphereShape" SphereShape Class SphereShape SphereShape 类用于创建球形粒子形状。 Hierarchy BaseShape SphereShape Implements IClone Index Constructors constructor Properties emitFromShell enable radius randomDirection shapeType Methods clon...
来源: Laya3.0_api 发布时间: 20231115
...mera.addComponent(CameraMoveScript); this.camera.clearColor = null; } Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); MousePickingScene.prototype.lateRender = function (state) { MousePickingScene.__super.prototype.lateRender.call(state); //从屏幕空间生成射线 this.point.eleme...
来源: Laya_社区 发布时间: 20170323
...太合适,但仍然希望有高手帮忙解答下。 我写了一个类 class Runner extends Laya.Sprite { } 在src/Runner.ts里面 现在我准备开发多人对战版本,于是准备再写一个多人模块,包含相关的一些类 建立一个文件夹mult,里面有个MainRunner类继承...
来源: Laya_社区 发布时间: 20170203
...aya/d3/core/particleShuriKen/module/shape/HemisphereShape" HemisphereShape Class HemisphereShape HemisphereShape 类用于创建半球形粒子形状。 Hierarchy BaseShape HemisphereShape Implements IClone Index Constructors constructor Properties emitFromShell enable radius randomDirection shapeTy...
来源: Laya3.0_api 发布时间: 20231115
...s.addChild(this.bg2); //创建一个帧循环,更新容器位置 }; Laya.class(BackGround,"BackGround",_super); return BackGround; }(Laya.Sprite));注意: 1、如果_super是传参过来的,直接写_super.call(this)即可,如果不是直接写BackGround.__super(this)即可,两种写法(...
来源: Laya_社区 发布时间: 20170222
...tOS(); var bridge; var obj = {}; if (os == "Conch-ios") { bridge = PlatformClass.createClass("JSBridge");//创建脚步代理 } else if (os == "Conch-android") { //需要完整的类路径,注意与iOS的不同 bridge = PlatformClass.createClass("demo.JSBridge");//创建脚步代理 } if (os == "C...
来源: Laya3.0_文档 发布时间: 20230303
... 打开界底层是addChild打开的; 新建一个UIManagerexport class UIManager { private mainContent: Laya.Sprite; private scene: GameScence; private uiList:any; constructor() { this.mainContent = new Laya.Sprite(); this.uiList = ; } }mainContent 为默认添加到的层级, GameScence ...
来源: Laya_社区 发布时间: 20190222
.../core/particleShuriKen/module/TextureSheetAnimation" TextureSheetAnimation Class TextureSheetAnimation TextureSheetAnimation 类用于创建粒子帧动画。 Hierarchy TextureSheetAnimation Implements IClone Index Constructors constructor Properties cycles enable enableUVChannels randomRow rowIndex...
来源: Laya3.0_api 发布时间: 20231115
...发语言、LayaAirIDE让项目开发更高效。let logger, keyDownList; class Interaction_Keyboard { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWid...
来源: Laya2.0_示例 发布时间: 20241002