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

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

281. u3d模型导出报错,1第一次导出报错,2第二次不会有这个错误提示了,3生成文件后到laya里面使用提示没有动画 [ 67%]

...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameO...

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

282. 打地鼠的Laya1.0想用2.0写出来总是出错 [ 67%]

...模式,2.0默认文件模式。ui导出类 最上面有注释: /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ 如果检测编辑界面有改动的话运行的时候会重新生成该类。     2019-09-02 1 1 分享 微博 QZONE 微信 为什么...

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

283. Laya2.2问题,有没有遇到的? [ 67%]

...,有没有遇到的? 子域所有代码 (function () { 'use strict';  class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none"; GameConfig.al...

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

284. Vbox的问题 [ 67%]

...怎么不能排列 https://layaair.ldc.layabox.com/api/?category=UI&class=laya.ui.LayoutBox#changeItems() 父类重写sortitem方法 能实现你需求吗,有问题再反馈 2018-03-02 0 6 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

285. Tab组件如何通过js控制选中 [ 66%]

...以出来当前的选项,说明继承没有问题,但是无法更改 class Tab extends TabUI{ constructor() { super() this.zOrder = 1 console.log(this._tab._selectedIndex) //返回1,正常 this._tab._selectedIndex = 0 } } xdkaka • 2017-12-14 17:40 发布肯定是已经发布了的。。。...

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

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

...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

287. 后期处理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...可以通过代码来创建一个变色效果,示例如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //获取节点 @property(Laya.Sprite) public sp: Laya.Sprite; onAwake(): void { //创建后期处理实例 this.sp.postProcess = new Laya.PostPro...

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

288. Image加载完成后的图片大小重设问题 [ 66%]

...效,一直显示都是原来设定的大小。示例代码如下:   class PlayGame extends ui.PlayGameUI {     constructor() {         super();        init();     }     public init ():void     {         this.bg_img.loadImage("ui/bg.jpg",0,0,Laya.stage.width,Laya.stage.height...

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

289. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...下面给出一个示例代码,实现脚本控制TextInput: const { regClass, property } = Laya; @regClass() export class TextInputControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextInput } ) public txtin: Laya.TextInput; constructor() { super(); } /** * ...

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

290. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 66%]

... { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 类的实例对象 list 。 private n:number = 0;...

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