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

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

691. unity5.3.4f1. 导出模型失败 [ 65%]

...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr...

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

692. laya.d3.core.light.LightSprite [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames LightSpriteProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses DirectionLight, PointLight,...

来源: laya_api 发布时间: 20170929

693. as3的类里定义的字段编译后会被注释 [ 65%]

...字段编译后会被注释 AS3中下面的一个简单的数据类 public class Demo { public var a:int; public var b:String; public function Demo() { } }通过编译后会变成下面的代码class Demo{ constructor (){ //this.a=0; //this.b=null; } }这里字段a和b在编译后会被注释掉,...

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

694. laya.d3.core.light.PointLight [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PointLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建...

来源: laya_api 发布时间: 20170929

695. ReferenceError: Loading_fly is not defined [ 65%]

... { function Loading_fly() { Loading_fly.super(this); this.onPlay(); } Laya.class(Loading_fly, "Loading_fly", _super) var _proto = Loading_fly.prototype; _proto.onPlay = function () { UIConfig.popupBgAlpha = 0.85; UIConfig.closeDialogOnSide = false; this.diango = new Laya.Dialog(); this.diango.width ...

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

696. 如何监听移动端软键盘的弹出和收回? [ 64%]

...xtField; import flash.text.TextFieldType; import flash.ui.Keyboard; public class TextInput extends Sprite { private var textInput:TextField; private var sourceWidth:Number; private var sourceHeight:Number; public function TextInput() { //转换成h5项目后获取浏览器的宽度 //[IF-JS]sourceWi...

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

697. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 64%]

...据实际情况修改。有需要的可以参考下/* * 位图字体; */ class BPFont extends Laya.Sprite { // 文本内容 private _text: string; // 水平排列方式 private _align: string; // 资源前缀 private resFix: string; // 间距 private _padding: number; // 位图集合 private chars: ...

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

698. 动画-图集动画 [ 64%]

...E让项目开发更高效。let aniConfPath = "res/fighter/fighter.atlas"; class Animation_Altas { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stag...

来源: Laya2.0_示例 发布时间: 20251209

699. 改变位置后,点击区域不生效了 [ 64%]

...splay.Sprite; import laya.events.Event; import laya.renders.Render; public class MoveTest { public function MoveTest() { Laya.init(600,600); var sp:Sprite = new Sprite(); sp.autoSize=true; sp.graphics.drawRect(0,0,100,100,"#ff0000"); sp.on(Event.CLICK,this,onClick); Laya.stage.addChild(sp); } privat...

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

700. Unity插件与LAYAAIR加载的天空盒子BUG与修改方法 [ 64%]

...TextureCubeLtcLoaded=function(loader,ltcData){         if (loader._class.destroyed){             loader.endLoad();             }else {             var ltcBasePath=URL.getPath(loader.url);             var urls=[             Laya3D.fo...

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