大约有 213 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0051 秒)
...w Handler(this,onMouse);//当list被点击时触发 并发送event,index } public function onRender(cell:Box,index:int):void { //当list刷新时接收并更改单元格属性 var hero:Image = cell.getChildByName("hero")as Image;//根据名字查找要更改的单元格 hero.disabled = Hos...
来源: Laya_社区 发布时间: 20180522
...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