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

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

871. laya.physics.ColliderBase_API3.0 [ 55%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/ColliderBase" ColliderBase Class ColliderBase 碰撞体基类 Hierarchy Component ColliderBase BoxCollider ChainCollider CircleCollider EdgeCollider PolygonCollider Index Constructors const...

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

872. 升级到3.0-beta6无法选择资源了 [ 55%]

...选择弹出框显示None,也无法拖放! 代码如下: @regClass() export class NewScript extends Laya.Script {     //declare owner : Laya.Sprite3D;      @property(String)     public text: string = "";      @property(Laya.Image)     public image: Laya.Image = null;      construc...

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

873. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 55%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/CannonPhysicsComponent" CannonPhysicsComponent Class CannonPhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component CannonPhysicsComponent Cann...

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

874. laya.utils.TimeLine_API3.0 [ 55%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/TimeLine" TimeLine Class TimeLine TimeLine 是一个用来创建时间轴动画的类。 Hierarchy EventDispatcher TimeLine Index Properties scale Accessors total Methods addLabel destroy eve...

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

875. 内置骨骼动画 · LayaAir3.4 · 引擎文档 · LAYABOX [ 55%]

...理资源 代码示例: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private mCurrIndex: number = 0; private mArmature: Laya.Skeleton; onStart() { console.log("Game start"); //加载内置骨骼动画资源 Laya.loader.load("skeleton/Dragon/Dragon.sk").t...

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

876. viewportPointToRay产生的射线始终有偏差,是为什么? [ 55%]

...3; import Vector4 = Laya.Vector4; import WebGLContext = Laya.WebGLContext; export class SceneScript extends Script { private _originPosition:Vector3 = new Vector3(0, -1, 1); private _phasorSpriter3D:PhasorSpriter3D; private _color:Vector4 = new Vector4(1, 0, 0, 1); private _point:Vector2 = new Vecto...

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

877. tiledmap有时尺寸不正确 [ 55%]

...LayaAir有bug吗,我的代码是根据教程来写的,现附上代码export class Scene{ // 当前场景的配置信息 private _mLevelConf:LevelConf = null; // 地图文件 private _mTiledMap:TiledMap = null; // 自定义信息文件 private _mLoader:Loader = null; // 当前地图X坐标 privat...

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

878. LayaBox加载TiledMap地图和注意事项 [ 55%]

... [*] [/*] [*] [/*] [*] [/*] [*] [/*] [*] [/*] [*] [/*] [/list] [code]export default class DesertUI extends Laya.Scene {    constructor() { super();        DesertUI.instance = this; Laya.MouseManager.multiTouchEnabled = false;        this.loadScene("Desert.scene"); //初...

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

879. Laya3d球星添加了刚体,但是碰撞无法触发onTriggerEnter的问题,有偿悬赏解答 [ 55%]

...你这是3d类型,改成下面这样,就可以获取到觖发信息了 export default class PlayerController extends Laya.Script3D 2020-07-29 0 0 分享 微博 QZONE 微信 不懂就问 赞同来自: isKinematic=true,这个为true是没有碰撞检测的 2020-07-29 0 1 分享 微博 QZONE 微...

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

880. UI-Tree [ 55%]

...dler = Laya.Handler; import WebGL = Laya.WebGL; import Utils = Laya.Utils; export class UI_Tree { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_S...

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