大约有 2,135 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? 写了一个...
来源: Laya_社区 发布时间: 20171116
...,功能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private arr: any; constructor() { s...
来源: Laya_社区 发布时间: 20201120
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 求助关于TiledM...
来源: Laya_社区 发布时间: 20200915
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 求...
来源: Laya_社区 发布时间: 20210106
...mponent(ModelViewer); 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. //...
来源: Laya_社区 发布时间: 20170714
...DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite }) public hit: Sprite; private _temp: Sprite; private _allAgent: Nav2DAgent[] = []; private findCompents(lists: ...
来源: Laya3.0_文档 发布时间: 20251010
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 问题状态 最新活动: 2019-12-25 20:41 浏览: 1933 关注: 3 人 Chenyazhi • 2018-05-04...
来源: Laya_社区 发布时间: 20180503
...t found Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一句代码都会出现这个问题 Swift中接入其他都正常,但是在你们的conchCo...
来源: Laya_社区 发布时间: 20180715
...mponent(ModelViewer); 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. //...
来源: Laya_社区 发布时间: 20190224
...) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { //加载预制体文件 Laya.loader.load("resourc...
来源: Laya3.0_文档 发布时间: 20241014