大约有 786 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya_社区(386) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(53) Laya_示例(32) Laya2.0_示例(27)
...ox = Laya.Box; import Image = Laya.Image; import Text = Laya.Text; class Item extends Box { public static WID: number = 400; public static HEI: number =40; private text_guanqia: Text; private text_guanqia_info: Text; private img: I...
来源: Laya_社区 发布时间: 20210122
...int对象父容器rotation旋转之后检测不了碰撞 附上代码 class FishPonds extends Laya.Sprite { public are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are...
来源: Laya_社区 发布时间: 20180315
API DocumentationAll Packages | All Classes | Index | Frames No Frames AsynDialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者pop...
来源: laya_api 发布时间: 20170929
...,用于常规的资源 */}); 完整的脚本示例如下: const { regClass, property } = Laya; @regClass() export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https:...
来源: Laya3.0_文档 发布时间: 20251010
...key.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); class MeshLoad { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera: Laya.Camer...
来源: Laya_示例 发布时间: 20251209
...载问题 测试内容:加载3D场景 代码如下: export default class TestUI extends ui.test.TestSceneUI { private resource: Array<String> = [ "gate/Conventional/Test.ls", ]; constructor() { super(); } onAwake(): void { Laya.loader.crea...
来源: Laya_社区 发布时间: 20190925
关于切换图片的问题 class Main{ private plane1:string = "res/plane.png"; private plane2:string = "res/untitled.png"; private img: Laya.Sprite; private flag: boolean = false; constructor() { Laya.init(1000,800); this.img = new Laya.Sprite; this.img.loadImage(this.plane1); Laya.stage.addChild...
来源: Laya_社区 发布时间: 20180406
...ertex count: 347 [2023-06-20 18:19:19.050] [resource_tool] [info] Material class: FbxSurfacePhong [2023-06-20 18:19:19.050] [resource_tool] [info] aToon_Palette_Outline lTransColor valid. [2023-06-20 18:19:19.050] [resource_tool] [info] aToon_Palette_Outline lTransFactor valid. [2023-06-20 18:19:19....
来源: Laya_社区 发布时间: 20230621
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 如何检测Animation动画播放完毕后去执行方法? 问题状态 最新活动: 2018-10-29 15:04 浏览:...
来源: Laya_社区 发布时间: 20181029
laya2.0 runtime问题 按照2.0官方文档来的,报can not find class xxx 项目已上传,请帮忙看看 附件 : --> 测试1_runtime.rar 2018-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 hj 赞同...
来源: Laya_社区 发布时间: 20181010