大约有 215 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(65) Laya2.0_api(60) laya_api(56) Laya_社区(28) Laya3.0_文档(2) Laya2.0_文档(2) Laya2.0_示例(1) Laya_示例(1)
...听太多 需要分离 监听和执行 /** * 基础信息按钮监听 */ public AffirmButton1Click(event: Laya.Event) { } 但是实际运行的情况下就会报错 Explain.ts:11 TypeError: Cannot read property 'AllTitleButtonClick' of undefined Explain.ts:31 at Explain.onAwake (file:///E:/NewLaya...
来源: Laya_社区 发布时间: 20190410
...s No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标...
来源: Laya2.0_api 发布时间: 20190513
...s No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectImplements laya.display.ILayoutSubclasses AnimationPlayerBase, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle2D, Scene, Skeleton, Stage, Tex...
来源: laya_api 发布时间: 20170929
...``java package { import laya.debug.DebugPanel; import laya.display.Sprite; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //调用DebugPanel调试面板 Laya.enableDebugPanel(); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; var Img:Sprite = new Sprite()...
来源: Laya2.0_文档 发布时间: 20210714
...另外一个文件common.ts中定义的类: class common{ constructor(){ } public static num : number = 1000000; } 然后启动调试,居然报了这个错: Uncaught ReferenceError: common is not defined at new main (main.ts:4) at main.ts:11 我试了很多次,都是这样,哪...
来源: Laya_社区 发布时间: 20180208
...roperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class BaseSceneInheritanceBaseScene Sprite Node EventDispatcher ObjectImplements ISubmitSubclasses Scene, VRScene BaseScene 类用于实现场景的父类。 Public Properties Hide Inherited Public Properties Show Inhe...
来源: laya_api 发布时间: 20170422
....bb的num console.info(s); }, 1000); } } class Child{ private _num:string; public num(n:string){ this._num = n; } public shuchu(){ return this._num; } } new LayaSample(); 2018-08-05 3 0 分享 微博 QZONE 微信 手撕腊鸭 赞同来自: 138*****417 、呆到八得 、陈斌 、小卡 、1987c ...
来源: Laya_社区 发布时间: 20180729
...roperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Publi...
来源: laya_api 发布时间: 20170929
...roperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Pub...
来源: Laya2.0_api 发布时间: 20190513
...表 * @param nameOrIndex * @param boneName * @return 骨骼坐标列表 */ public function getBoneCoords(nameOrIndex:*, boneName:String):Array { var arrCoords:Array = ; var aniClipIndex:int = getAniClipIndex(nameOrIndex); var curOriginalData:Float32Array = new Float32Array(_templet.getTotalkeyfra...
来源: Laya_社区 发布时间: 20190828