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

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

731. laya.physics.joint.JointBase_API3.0 [ 60%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/JointBase" JointBase Class JointBase 关节基类 Hierarchy Component JointBase DistanceJoint GearJoint MotorJoint MouseJoint PrismaticJoint PulleyJoint RevoluteJoint WeldJoint WheelJ...

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

732. warning:Laya.timer.once This variable is not defined. [ 60%]

...Adpter] already exist: Object {init: } GradientDataNumber warning是什么 exports is not defined (js篇) 运行ConchJNI.RunJS("JaveCallback.onHide()"),提示JaveCallback is not defined 问题状态 最新活动: 2018-03-20 11:25 浏览: 710 关注: 3 人 popo • 2018-03-20 11:34 公司项目,...

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

733. UI-FontClip [ 60%]

... FontClip=Laya.FontClip; import Image=Laya.Image; import WebGl=Laya.WebGL; export class Font_Clip{ private TestClipNum:string="res/comp/fontClip_num.png"; private _ClipNum:string="res/comp/fontClip_num.png"; private _ClipNum1:string="res/comp/fontClip_num.png"; private TestFontClip:string="res/comp/...

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

734. 2.0版本可用的CameraMoveScript.ts [ 60%]

...一个2.0,跟示例里效果一样的文件:   /** * ... * @author */ export class CameraMoveScript extends Laya.Script {      /** @private */     protected _tempVector3: Laya.Vector3 = new Laya.Vector3();     protected lastMouseX: number;     protected lastMouseY: number;   ...

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

735. laya.d3.renderobjs.nativeobj.NativeInstanceRenderElementOBJ_API3.0 [ 60%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeInstanceRenderElementOBJ" NativeInstanceRenderElementOBJ Class NativeInstanceRenderElementOBJ Hierarchy NativeRenderElementOBJ NativeInstanceRenderElementOBJ Implement...

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

736. 取色器组件 · LayaAir3.0文档 · LAYABOX [ 60%]

...。示例代码如下: const { regClass, property } = Laya; @regClass() export class UI_ColorPicker extends Laya.Script { private skin: string = "atlas/comp/colorPicker.png"; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行...

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

737. 在Unity中设置动画事件(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 60%]

...脚本名不影响事件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { //用于表现的方法 public showMsgFunc; constructor(){ super(); } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg(){...

来源: Laya2.0_文档 发布时间: 20210715

738. 用npm的protobuf导出的ts代码。然后用import { } from "" 运行到这里没反应,不继续执行,也不报错。 [ 60%]

...写了一个模块 MyModuleimport { com} from "../libs/protobuf/area.js"; export function testProto():void { console.log("call testProto"); var ProtobufUtil = com.bee.protobuf; let msg = ProtobufUtil.ProtoArea.create(); let buffer = ProtobufUtil.ProtoArea.encode(msg).finish(); let decode = ProtobufU...

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

739. 预制体模块 · LayaAir3.0文档 · LAYABOX [ 60%]

...) 示例代码如下: 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_文档 发布时间: 20240106

740. laya.d3.core.MeshFilter_API3.0 [ 60%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/MeshFilter" MeshFilter Class MeshFilter MeshFilter 类用于创建网格过滤器。 Hierarchy Component MeshFilter Index Constructors constructor Properties _extra _singleton owner runInEd...

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