大约有 773 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0074 秒)
Laya_社区(382) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(44) Laya_示例(32) Laya2.0_示例(27)
API DocumentationAll Packages | All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的...
来源: Laya2.0_api 发布时间: 20190513
...ya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.loadingLabel = null; this.refreshList = null; /** 消息生成的当前最大id值 */ this.msgIdNow=1; /** ...
来源: Laya2.0_示例 发布时间: 20240930
API DocumentationAll Packages | All Classes | Index | Frames No Frames PanelProperties | Methods | Events Packagelaya.uiClasspublic class PanelInheritancePanel Box UIComponent Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Prope...
来源: Laya2.0_api 发布时间: 20190513
...建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private newScene:Laya.Scene3D; private boxA: Laya.MeshSprite3D; constructor() { super(); Laya3D.init(0, 0); Laya.stage.scaleMode = Laya....
来源: Laya_社区 发布时间: 20210103
...d 背景还是黑色 as hello world package { import laya.ui.Label; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#ffffff"; var sp : Label = new Label("hello world"); //sp.fontSize = 55; sp.pos(100, 100) ; //sp.color = "#000000...
来源: Laya_社区 发布时间: 20170711
API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewStackProperties | Methods | Events Packagelaya.uiClasspublic class ViewStackInheritanceViewStack Box Component Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的...
来源: laya_api 发布时间: 20170929
...type_energy"; //速度类型 Hp.HP_TYPE_SPEED = "hp_type_speed"; //Hp Laya.class(Hp,"Hp", laya.display.Sprite); var _proto = Hp.prototype; _proto.init = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TY...
来源: Laya_社区 发布时间: 20160803
...l + Alt + Shift + S打开工程设置面板,先去Modules设置一下mainClass为你的入口as类,然后设置Libraries,如下图: 然后定位到下载好的LayaAirAS引擎源码路径添加: 注意这里选择Raw ActionScript library,否则无效的。 最后去Problems哪里,随...
来源: Laya_社区 发布时间: 20170418
...一直旋转。有将mask拿掉测试,发现就不会有类似问题。class GameLayer extends ui.GameLayerUI { private infos : any; constructor () { super (); this.infos = { rotation : 0 }; Laya.timer.frameLoop(1,this,()=> { this.infos.rotation += 1; if (this.infos.rotation >= 360) this.inf...
来源: Laya_社区 发布时间: 20180720
API DocumentationAll Packages | All Classes | Index | Frames No Frames MoreGameProperties | Methods | Events Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show ...
来源: Laya2.0_api 发布时间: 20190513