大约有 1,125 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(426) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya3.0_文档(35) Laya_示例(32) Laya2.0_示例(14)
...码: let PORT: number = 8080; let IP: string = "127.0.0.1"; export class NetSocket extends Laya.Socket{ private static _instance: NetSocket; public static get instance(): NetSocket { if (!NetSocket._instance) { NetSocket._inst...
来源: Laya_社区 发布时间: 20170602
...之后材质基类由BaseMaterial变更为Material。 ```typescript export class CustomMaterial extends Laya.Material { public function CustomMaterial() { super(); //设置本材质使用的shader名字 this.setShaderName("CustomShader"); } } ``` #### 4.使用自定义材质 在使用自定义...
来源: Laya2.0_文档 发布时间: 20210715
...eyMeshSprite3D.addComponent(DrawBoxColliderScript); this.debug = false; } }class ColiderDemo { /**键盘的上下左右控制猴子位移**/ private scene:Laya.Scene; private camera:Laya.Camera; private layaMonkey:Laya.Sprite3D; private layaMonkeyMeshSprite3D:Laya.SkinnedMeshSprite3D; private _tempU...
来源: Laya_示例 发布时间: 20251209
...ort laya.ui.Image; import laya.utils.Handler; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var arr:Array = []; public function TestView() { super(); _path.pivot(0,...
来源: Laya_社区 发布时间: 20171113
...ly exported Menu Globals "laya/components/AnimationClip2D" AnimationClip2D Class AnimationClip2D Hierarchy Resource AnimationClip2D Index Constructors constructor Properties _id destroyedImmediately islooping lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount...
来源: Laya3.0_api 发布时间: 20231115
...,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super(); //添加3D场景 Laya.Scene3D.load("res/Conventional/SimpleTown_DemoScene.ls",Laya.Handler.create(this,function(s:Laya.Scene3D):void{ var scene = s; L...
来源: Laya_社区 发布时间: 20181227
...ll Inherited Externals Only exported Menu Globals "laya/display/Node" Node Class Node Node 类是可放在显示列表中的所有对象的基类。该显示列表管理 Laya 运行时中显示的所有对象。使用 Node 类排列显示列表中的显示对象。Node 对象可以有子显示对象...
来源: Laya3.0_api 发布时间: 20231115
...l1 = (function (_super) { function MPanel1() { MPanel1.super(this); } Laya.class(MPanel1, "MPanel1", _super) var _proto = MPanel1.prototype; return MPanel1; }(ui.Panel1UI));代码如上,报错如下 附件 : --> 2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180206
... this.preload(this.onPreloaded.bind(this)); } Laya.class(Test01, 'view.Test01', _super); var _proto = Test01.prototype; _proto.preload = function (complete) { console.log("preload..." + (++this.numPreloadCalls)); if (this.d...
来源: Laya_社区 发布时间: 20180622
...下载看看 可能是不是修改忘记上传了 GraphicAnimation类里 class GraphicNode Matrix没有import 虽然不是什么大问题 但希望可以避免 引擎组大大辛苦了 kukucck • 2017-08-29 15:30 BlurFilterActionGL
来源: Laya_社区 发布时间: 20170829