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

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

831. layaAir3D插件对应的unity版本 [ 57%]

...oad type 'UnityEngine.ImageConversion' from assembly 'LayaAirLibrary'. LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:435) LayaAir3D.OnGUI () (at Assets/...

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

832. 计时器-延迟执行 [ 57%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_DelayExcute { private button1: Sprite; private button2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Sta...

来源: Laya2.0_示例 发布时间: 20260819

833. Spine骨骼动画 · LayaAir3文档 · LAYABOX [ 57%]

...组件。 代码示例: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite }) public sprite: Laya.Sprite; private spine: Laya.Spine2DRenderNode; private index: number = -1; //组件被激活后执行,此时所有节点和...

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

834. laya.physics.joint.GearJoint_API3.0 [ 57%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/GearJoint" GearJoint Class GearJoint 齿轮关节:用来模拟两个齿轮间的约束关系,齿轮旋转时,产生的动量有两种输出方式,一种是齿轮本身的角...

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

835. Sprite-新手引导 [ 57%]

...ge = Laya.Stage; import HitArea = Laya.HitArea; import WebGL = Laya.WebGL; export class Sprite_Guide { private red:Sprite; private guideContainer:Sprite; private tipContainer:Sprite; private guideSteps:Array = [ { x: 151, y: 575, radius:150, tip:"res/guide/help6.png", tipx:200, tipy:250 }, { x: 883,...

来源: Laya2.0_示例 发布时间: 20260819

836. 求助关于TiledMap的版本问题 [ 57%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-05-02 12:12 浏览: 3255 关注: 3 人 charley • 2018-05-02 12:26 要仔细看文档 qulinke1230 • 2018-04-30 21:09 我今天试了下也是一样的,一头雾水 charley • ...

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

837. 为什么我获取不到鼠标滚轮的delta值,我查看laya.events.Event 里面没有这个属性 [ 57%]

...rowser; import WebGL = Laya.WebGL; import Rectangle = laya.maths.Rectangle export class Interaction_Scale { constructor() { Laya3D.init(640, 1136, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; // Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.camera =...

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

838. 同步龙骨插槽动画方案 [ 57%]

同步龙骨插槽动画方案 Laya Ver2.1.1   export class MSketon {      private mFactory: Laya.Templet;     public mArmature: Laya.Skeleton     private _handler: Laya.Handler;      constructor(url: string, handler: Laya.Handler, aniMode: number = 0) {     ...

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

839. 鼠标交互-拖动 [ 57%]

... = Laya.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.clientWid...

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

840. [LayaAirIDE3]2d相机打包后问题 [ 57%]

...er } from "./Player";  const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {     @property({ type: Laya.Sprite })     public player: Laya.Sprite;      @property({ type: Laya.Sprite })     public joystick: Laya.Sprite;      @property({ type: Laya.Spri...

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