大约有 3,041 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
Laya_社区(1094) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(112)
...laya.events.Event; import laya.utils.Stat; public class LayaSample { private var _stateMachine:StateMachine; public function LayaSample() { Laya3D.init(1000, 500,true); //适配模式 La...
来源: Laya_社区 发布时间: 20190416
...载问题 测试内容:加载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
...信 Barry Allen 赞同来自: import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() this._init() } private _init() { this.c...
来源: Laya_社区 发布时间: 20180123
...为object层,层级设置无效的问题 Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Warning!,this class[MiniAdpter] already exist: Object {init: } 鼠标自定义样...
来源: Laya_社区 发布时间: 20170523
...aths.Rectangle; import laya.display.Stage; public class LayaUISample { private var skin:String = "https://layaair.ldc.layabox.co ... 3B%3B private var aniPath:String = "https://layaair.ldc.layabox.co ... 3B%3B public function L...
来源: Laya_社区 发布时间: 20180725
...头像者 • 2018-10-24 18:14 写一个ts文件,写上 export default class Move extends Laya.Script{ /** @prop {name:target,tips:"目标容器",type:Prefab}*/ targetPrefab:Laya.Prefab; } 将文件在编辑模式下赋给点添加组件=》code=》move 然后创建一个box拖为预制...
来源: Laya_社区 发布时间: 20181024
...ted Menu Globals "laya/d3/physics/CharacterController" CharacterController Class CharacterController CharacterController 类用于创建角色控制器。 Hierarchy PhysicsComponent CharacterController Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor script...
来源: Laya3.0_api 发布时间: 20231115
...文档步骤用WXOpenDataViewer做排行榜的时候,会报Can not find class laya.ui.WXOpenDataViewer,然后去引擎文件找这个类,发现没有laya.ui.WXOpenDataViewer,发布到微信小游戏中,也会报undefined,不知道往下怎么进行,我利用Beta3版本中的WXOpenDataV...
来源: Laya_社区 发布时间: 20181022
...己的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
... laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class DialogCenterClose { private const DIALOG_WIDTH:int = 220; private const DIALOG_HEIGHT:int = 275; private const CLOSE_BTN_WIDTH:int = 43; private const CLOSE_BTN_PADDING:int = 5; private var assets:Array; public function...
来源: Laya_社区 发布时间: 20170706