大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
...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
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
...据官方教程:FlashBuilder-LayaCompiler-运行提示"must set Document Class!" 仿<蚂蚁森林>案例(新手向教程) ——含源码 【教程】2.0微信开放数据域展示组件的使用,WXOpenDataViewer,子域,排行榜 多线程教程代码报错 打包成手机app的详细...
来源: Laya_社区 发布时间: 20200803
...己写的类? 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
...CK,this,function(){ this.destroy(); }) } Laya.class(Controller, "Controller", stUI); 2018-08-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 那个层是归 ...
来源: Laya_社区 发布时间: 20180831
复杂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
问题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
....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
...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
... 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