大约有 1,557 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0069 秒)
Laya_社区(551) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(69) Laya2.0_示例(2)
API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseRenderProperties | Methods Packagelaya.d3.core.renderClasspublic class BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.IDestroySubclasses GlitterRender, MeshRender, ShurikenParticleRend...
来源: laya_api 发布时间: 20170929
TS项目怎么通过OC调用一个JS函数 ts中的代码: class Native { private setNativeListener(): void { alert("oc call me to do someing"); } } oc代码: [[conchRuntime GetIOSConchRuntime] runJS:@"Laya.Native.setNativeListener()"]; Laya改成Window也不行! ...
来源: Laya_社区 发布时间: 20180118
...ted Externals Only exported Menu Globals "laya/resource/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderTextureProperties | Methods | Constants Packagelaya.d3.resourceClasspublic class RenderTextureInheritanceRenderTexture BaseTexture laya.resource.Bitmap //RenderTexture 类用于创建渲染目标。 Public Propert...
来源: Laya2.0_api 发布时间: 20190513
...ll Inherited Externals Only exported Menu Globals "laya/net/Socket" Socket Class Socket Socket 封装了 HTML5 WebSocket ,允许服务器端与客户端进行全双工(full-duplex)的实时通信,并且允许跨域通信。在建立连接后,服务器和 Browser/Client Agent 都能主动...
来源: Laya3.0_api 发布时间: 20231115
...己的BaseView) declare module Laya{//在这个module里添加 class BaseView extends Scene{}//继承自Scene }里加上自己定义的页面,然后在编辑页面F9的Code导入类里写上引用和赋值 import BaseView from "../BaseView"; Laya.BaseView = BaseView 2019-09-06 0 1 分...
来源: Laya_社区 发布时间: 20190417
...package { import laya.ani.swf.MovieClip; import laya.events.Event; public class SwfLabelUse { private var mc:MovieClip; public function SwfLabelUse() { Laya.init(600,600); Laya.stage.bgColor="#EEFFCC"; mc=new MovieClip(); mc.load("output/AAA.swf"); mc.on(Event.LOADED,this,onLoaded); Laya.stage.addCh...
来源: Laya_社区 发布时间: 20170705
...er.JUMP = "player_jump"; //状态 Player.DIE = "player_die"; //Player Laya.class(Player,"Player", laya.display.Sprite); var _proto = Player.prototype; //是否缓存了 Player.cached = false; _proto.init = function(){ //动画缓存起来 if(!Player.cached){ Player.cached = true; //根据不同的...
来源: Laya_社区 发布时间: 20160801
...,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor(){ super(); //加载场景 Laya.Scene3D.load('LayaScene_test/Conventional/test.ls',Laya.Handler.create(this,this.onComplete)); } /** * 加载完成 */ private onComplete(sc...
来源: Laya2.0_文档 发布时间: 20210714
...请先登录 发起人 geminl 相关问题 Laya2.1.0 JS调用Java PlatformClass undefined Unity导出有光照贴图时,出现错误:ArgumentException: Invalid path 真是醉了这个问题都有人问过了 也没见有答复的Uncaught TypeError: Cannot set property 'roleAni' of undefined js...
来源: Laya_社区 发布时间: 20180308