大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...信 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
...文档步骤用WXOpenDataViewer做排行榜的时候,会报Can not find class laya.ui.WXOpenDataViewer,然后去引擎文件找这个类,发现没有laya.ui.WXOpenDataViewer,发布到微信小游戏中,也会报undefined,不知道往下怎么进行,我利用Beta3版本中的WXOpenDataV...
来源: Laya_社区 发布时间: 20181022
...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
...己的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
...eHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"ServerListView",_super); var _proto_ = ServerListView.prototype; //选择列表项时的相应时间,参数index是选中项的下标 // _proto_.onSelect = function(index){ // console.log("index",index...
来源: Laya_社区 发布时间: 20170805
...defined? 关于同为object层,层级设置无效的问题 Warning!,this class[MiniAdpter] already exist: Object {init: } LayaAirIDE2.2 - Laya3D init error ,must support webGL 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? 2.5引擎版本webgl使用遮罩...
来源: Laya_社区 发布时间: 20181012