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

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

411. 'releaseTexture' of null [ 69%]

...到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 需要提供个demo才能看的,这截图看不出来的 2019-05-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 x。 相关问题 Cannot...

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

412. 移动游戏舞台 原来的坐标移位 [ 69%]

...算移动的是其他容器,也请用 container.x,而不是 container._x。   总之,查看实时的人物ui坐标,和他在matter.js中的坐标,对比。 2017-07-19 0 0 分享 微博 QZONE 微信 chengluliang 赞同来自: 我用这个代码移动了柱子的位置 如图 移动后柱...

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

413. laya.ui.HSlider [ 69%]

...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...

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

414. 给图片节点添加新创建的图片,会报这个错:node._setParent is not a function [ 69%]

给图片节点添加新创建的图片,会报这个错:node._setParent is not a function this.imageBg = this.owner.getChildByName("image_bg"); console.log("this.imageBg==="+this.imageBg); for (let iColumns = 1; iColumns < this.intColumns; iColumns++) { this.arrLove[iColumns] = []; for (let ...

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

415. 关于 接facebook sdk [ 69%]

...相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Allen_叶 赞同来自: // 游戏初始 _proto.Init = function(callback){ if(onFaceBook){ FBInstant.initializeAsync().then(function() { this.playerID = FBInstant.player.getID(); if(callback){ callback(); } }); }   //资源加载进...

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

416. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 68%]

...网的粒子效果的例子:http://layaair.ldc.layabox.com/demo/?Particle_T1  ) 主要就是: Laya.loader.load("SnowParticle.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON);           public function onAssetsLoaded(settings:ParticleSetting):void         {     ...

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

417. laya.ui.UIGroup [ 68%]

...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...

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

418. 3D中摄像机绕物体旋转该如何实现? [ 68%]

...sition; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPo...

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

419. 分享一个Shader版的CoolDown实现 [ 68%]

...; \             uniform mat4 mmat; \             varying vec2 v_texcoord; \             varying vec4 v_color; \             void main(){ \                 vec4 pos =mmat*vec4(position.x,position.y,0,1);\                 gl_Position = vec4((pos.x / size.x - 0.5...

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

420. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 68%]

...on = this.tmpVector; //为圆锥形3D节点对象创建刚体碰撞器 let _rigidBody = <Laya.Rigidbody3D>(cone.addComponent(Laya.Rigidbody3D)); //创建圆锥形碰撞器形状(使用节点对象的值,保持一致性) let coneShape = new Laya.ConeColliderShape(raidius, height); //为...

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