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

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

1821. 发布Flash版本调试报错 [ 56%]

...ly undefined property newWebGLContext through a reference with static type Class.   如果不引入Flash 运行库源码,换成添加LayaAirFlash.swc到库 调试报错看起来类似死循环式的反复调用,详见附件1.jpg   麻烦官方测试,只需要最基本的即可 附件 : --> 2...

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

1822. laya.d3.component.Animator [ 56%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimatorProperties | Methods | Constants Packagelaya.d3.componentClasspublic class AnimatorInheritanceAnimator Component Object Animator 类用于创建动画组件。 Public Properties Hide Inherited Public Properties ...

来源: Laya2.0_api 发布时间: 20190513

1823. 按照打地鼠教程来无法正常加载资源 [ 56%]

按照打地鼠教程来无法正常加载资源 public class Main{         public function Main(){             //初始化引擎             Laya.init(1136, 640);             Laya.stage.bgColor = "#ffcccc";             var resArr:Array = [  ...

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

1824. ComboBox显示问题 [ 56%]

...ge ui.modules.MainHead { import laya.ui.*; import laya.display.*;  public class MainHeadUI extends View { public var image1:Image; public var input:TextInput; public var combox:ComboBox; public var radio:RadioGroup; public var checkBox:CheckBox; public var gongji:Button; public var btn1HasLabel:But...

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

1825. laya.d3.physics.PhysicsSimulation [ 56%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsSimulationProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsSimulationInheritancePhysicsSimulation Object Simulation 类用于创建物理模拟器。 Public Properties PropertyDefined By  con...

来源: Laya2.0_api 发布时间: 20190513

1826. 关于event中只读属性touches,问题,求解 [ 56%]

...ya.display.Text; import laya.events.Event; import laya.webgl.WebGL; public class DemoTouch { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x = 200;...

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

1827. Uncaught TypeError: Cannot read property '$_TID' of undefined [ 56%]

...annot read property 'displayObject' of null Laya2.1.0 JS调用Java PlatformClass undefined Uncaught unknown animationClip version. 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Cannot read pro...

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

1828. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 56%]

...件,在laya内测试正常加载显示,代码如下:// 程序入口 class LayaAir3D { /*3D场景*/ private scene:Laya.Scene; /*3D角色*/ private role:Laya.Sprite3D; /*3D摄像机*/ public camera:Laya.Camera; constructor() { //初始化微信小游戏 Laya.MiniAdpter.init(); //初始化引擎 ...

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

1829. Layaair scene怎么不会自动生成代码了? [ 56%]

...ce了吗?   layabox1.0还可以这样写: namespace game{    export class Define{    } } import Define =game.Define;   LayaAir2.0导入无效   2019-05-27 0 0 分享 微博 QZONE 微信 156*****215 赞同来自: 需要这样写成这样: import {Define} from "./game/Define" ? 2019-05-...

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

1830. 2.0,Laya3D中怎么给一个物体添加作用力?求大佬解答, [ 56%]

...: https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.physics.Rigidbody3D 可以获取刚体 然后 .出你需要的属性或者方法 2019-05-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 舍心人 ...

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