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

大约有 1,182 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0041 秒)

1031. layaair3D导出场景错误TypeLoadException [ 52%]

...er.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:435) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:337) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Refle...

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

1032. 加载-销毁Texture使用的图片资源 [ 52%]

...niFly:Animation; private btn:Sprite; private txt:Text; private isDestroyed:Boolean = false; private readonly PathBg:string = "../../res/bg2.png"; private readonly PathFly:string = "../../res/fighter/fighter.atlas"; constructor() { //初始化引擎 Laya.init(Browser.clientWidth, Browser.clientHeight...

来源: Laya_示例 发布时间: 20250226

1033. list 添加引发问题,求助! [ 52%]

...; i < studentArr.length; i++) { var ob:Object = studentArr[i]; var bo:Boolean; (ob.signState)? bo=true:bo=false; (ob.signState)? str="已到":str="未到"; arr.push({name_txt:{text:ob.stuName}, state_txt:{text:str},sign_btn:{mouseEnabled:bo}, sign_btn:{gray:!bo}}); } thi...

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

1034. Sprite3D的克隆(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 52%]

...c instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: Boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPosi...

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

1035. IOS15透明通道错乱 [ 52%]

...,整了个临时解决方案,有同样问题的可以试试 let isIphone: boolean let iphoneVer: number Laya.LayaEnv.beforeInit = () => { try { let md = new MobileDetect(navigator.userAgent); iphoneVer = md.version("iPhone") isIphone = Laya.Browser.onIPhone if (isIphone) { if (iphoneVer >= 15 ...

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

1036. laya.d3.core.particleshuriken.module.shape.BaseShape_API3.0 [ 52%]

...建一个 BaseShape 实例。 Returns BaseShape Properties enable enable: boolean = true Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:26 是否启用。 randomDirection randomDirection: number = 0 Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:28 随机方...

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

1037. 为什么SOCKET接收数据BYTE内存会越来越大 [ 52%]

...不用这个缓存读数据, 就可以把 socket的属性 disableInput:Boolean = false; 的值设为true 如果没有解决问题,请附上demo 或更详细的信息,以供排查问题   2017-12-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

1038. Unity导出模型出错 [ 51%]

....EncodeToPNG'. LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:417) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:323) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Refle...

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

1039. 阿拉伯语言的显示都是反的 [ 51%]

...右向左的显示顺序*/         public static var RightToLeft:Boolean = false;   /**          * 设置文字排版模式为右到左。          */         public static function setTextRightToLeft():void         {             var style:Object;...

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

1040. CameraMoveScript.as在哪儿下载群里的有错 [ 51%]

...var tempRotationY:Quaternion = new Quaternion(); protected var isMouseDown:Boolean; protected var rotaionSpeed:Number = 0.00006; protected var camera:BaseCamera; protected var scene:Scene; public function CameraMoveScript() { } override public function _initialize(owner:Sprite3D):void { super._initi...

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