• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,561 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0093 秒)

1201. 时间轴动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 48%]

...play.Animation; import laya.utils.Handler; import laya.webgl.WebGL; public class TimeLineDemo { public function TimeLineDemo() { //初始化舞台 Laya.init(1334,750, WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoad回调方法 Laya.loader.load("...

来源: Laya2.0_文档 发布时间: 20210715

1202. laya.ui.Dialog [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames DialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class DialogInheritanceDialog View Box Component Sprite Node EventDispatcher ObjectSubclasses AsynDialog Dialog 组件是一个弹出对话框...

来源: laya_api 发布时间: 20170929

1203. laya.display.Node [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames NodeProperties | Methods | Events Packagelaya.displayClasspublic class NodeInheritanceNode EventDispatcher ObjectSubclasses ComponentNode, Sprite Node 是可放在显示列表中的所有对象的基。该显示...

来源: laya_api 发布时间: 20170929

1204. ComboBox属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 48%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ComboBox)。 ​ ComboBox 组件的图像资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ 设置 ComboBox 的属性 labels 的值为 “label1,label2” 后,显示效果如下: ​ 常态: ...

来源: Laya2.0_文档 发布时间: 20210714

1205. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 48%]

...G_ENDIAN;设置为高位即可。 4.借用下any ts里面的你会发现classB明明继承了classA或者实现了接口IA,但是你在使用classB做处理使会出现报错,这个时候借用下any吧,如: classA implements IA{ } classB extends classA{ } var items:IA = ; function(item:c...

来源: Laya_社区 发布时间: 20161109

1206. laya.resource.BaseTexture_API3.0 [ 48%]

...ternals Only exported Menu Globals "laya/resource/BaseTexture" BaseTexture Class BaseTexture BaseTexture 纹理的父,抽象,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture TextureCube Texture2DArray Texture2D VideoTexture Index Constru...

来源: Laya3.0_api 发布时间: 20231115

1207. 预制体 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...itle预制体放到Box下 (动图3-5) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { //加载预...

来源: Laya3.0_文档 发布时间: 20251105

1208. 动效模板(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 48%]

...Loader; import laya.utils.Handler; import ui.EffectAnimationDemoUI; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //加载图集资源,加载成功后添加到舞台 Laya.loader.load("./res/atlas/ui.atlas"...

来源: Laya2.0_文档 发布时间: 20210715

1209. 分包项目, 加载js时报错 [ 47%]

...rt laya.ui.View;     /*[COMPILER OPTIONS:ForcedCompile]*/     public class loading100 extends Box     {         public function loading100()         {             var txt:Text = new Text();             //设置文本内容             txt.text = "Hello...

来源: Laya_社区 发布时间: 20170725

1210. [LayaAirIDE3]2d相机打包后问题 [ 47%]

...stick } from "./Joystick"; import { Player } from "./Player";  const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {     @property({ type: Laya.Sprite })     public player: Laya.Sprite;      @property({ type: Laya.Sprite })     public joystick: Laya.Spr...

来源: Laya_社区 发布时间: 20251125