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

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

1501. 官方案例里摄像机绕物体旋转脚本的问题 [ 60%]

...ewer); modelViewer.AroundPos = plane.transform.position; */ 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&...

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

1502. laya.d3.resource.RenderTexture [ 60%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderTextureProperties | Methods | Constants Packagelaya.d3.resourceClasspublic class RenderTextureInheritanceRenderTexture BaseTexture laya.resource.Bitmap //RenderTexture 类用于创建渲染目标。 Public Propert...

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

1503. Flash转H5教程呢 [ 60%]

...据官方教程:FlashBuilder-LayaCompiler-运行提示"must set Document Class!" 仿<蚂蚁森林>案例(新手向教程) ——含源码 【教程】2.0微信开放数据域展示组件的使用,WXOpenDataViewer,子域,排行榜 多线程教程代码报错 打包成手机app的详细...

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

1504. 如何继承自己写的类? [ 60%]

...己写的类? var KYModule = (function () { function KYModule() { } Laya.class(KYModule,"ky.module.KYModule",laya.events.EventDispatcher); KYModule.prototype.injectSource = function(json){ console.log("123"); } return KYModule; }());我如何再继承我写的这个KYModule? 我按常规js方式...

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

1505. Dialog [ 60%]

...CK,this,function(){           this.destroy();     })  } Laya.class(Controller, "Controller", stUI); 2018-08-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 那个层是归 ...

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

1506. 复杂UI类卸载 [ 60%]

复杂UI类卸载 class GameUI extends View{ container:Laya.Sprite; img1:Laya.Image; anim1:Laya.Animation; ... }, 类似这样的复杂UI类,里面包含了各种类型的组件,当需要卸载GameUI类的时候,gameUI.removeSelf();gameUI.destroy(true);gameUI = null ,用这种方式是否可行...

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

1507. 问题10600的复现方式 [ 60%]

问题10600的复现方式 package { import laya.webgl.WebGL; public class LateTest { public function LateTest() { Laya.init(100,100,WebGL); Laya.timer.callLater(this,onLater); Laya.timer.clearAll(this); } private function onLater():void{ trace("xxx"); } } } 2018-01-12 添加评论 免费帖 --> ...

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

1508. 鼠标交互-拖动 [ 60%]

....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: string = "../../res/apes/monkey2.png"; private ape: Sprite; private dragRegion: Rectangle; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Bro...

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

1509. laya.resource.AtlasResource_API3.0 [ 60%]

...als Only exported Menu Globals "laya/resource/AtlasResource" AtlasResource Class AtlasResource 大图合集资源 Hierarchy Resource AtlasResource Index Constructors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory i...

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

1510. laya.d3.physics.PhysicsComponent_API3.0 [ 60%]

... exported Menu Globals "laya/d3/physics/PhysicsComponent" PhysicsComponent Class PhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component PhysicsComponent PhysicsTriggerComponent CharacterController Index Constructors constructor Properties _extra _singleton canS...

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