大约有 1,229 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0065 秒)
...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
...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
... 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
...一个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
...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
...。示例代码如下: const { regClass, property } = Laya; @regClass() export class UI_ColorPicker extends Laya.Script { private skin: string = "atlas/comp/colorPicker.png"; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行...
来源: Laya3.0_文档 发布时间: 20231129
...脚本名不影响事件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { //用于表现的方法 public showMsgFunc; constructor(){ super(); } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg(){...
来源: Laya2.0_文档 发布时间: 20210715
...写了一个模块 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
...) 示例代码如下: 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
...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