大约有 731 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
Laya3.0_api(284) Laya2.0_api(154) laya_api(114) Laya_社区(84) Laya2.0_文档(47) Laya3.0_文档(46) Laya2.0_示例(1) Laya_示例(1)
...ZONE 微信 cuixueying 赞同来自: 1、你的动画资源没有预加载 public function Action() { init(); } private function init():void { Laya.loader.load("../res/zy/zy.json",Handler.create(this,onLoadedSource),null,Loader.ATLAS); } private function onLoadedSource():void { roleAni = new Animati...
来源: Laya_社区 发布时间: 20170821
...不对 private _agentTexture: any; private _agent:Laya.Sprite; public startDrag(dragCom: Laya.Sprite, touchID: number, sourceData?: any): void {let bounds = dragCom.getSelfBounds(); this._agentTexture = Laya.Sprite.drawToTexture(dragCom,Laya.SpriteConst.TEXTURE,bounds.width, bounds.height,...
来源: Laya_社区 发布时间: 20210911
....create(this, function(){ this.initView(); })); } /** 初始化场景 * */ public initView(): void{ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this.baseBox.height = 622; this.baseBox.pos(30, 28); this.baseBox.bgColor = "#ffffff"; // 加载进...
来源: Laya2.0_示例 发布时间: 20260303
...pt { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite }) public hit: Sprite; private _temp: Sprite; private _allAgent: Nav2DAgent[] = []; private findCompents(lists: any[], sprite: Sprite, componentType: typeof Component) { let comp = sprite.getComponent(componentType); if (comp !=...
来源: Laya3.0_文档 发布时间: 20251010
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/HLOD/HLOD" HLOD Class HLOD Hierarchy Component HLOD Index Constructors constructor Properties _extra _singleton owner runInEditor s...
来源: Laya3.0_api 发布时间: 20231115
...提交 3 个回复 youhong168 赞同来自: shaotianhk backOut () method public static function backOut(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number开始运动时是朝目标移动,稍微过冲,再倒转方向回来朝着目标。 Parameters t:Number — 指定当前...
来源: Laya_社区 发布时间: 20170105
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/BitmapFont" BitmapFont Class BitmapFont BitmapFont 是位图字体类,用于定义位图字体信息。 字体制作及使用方法,...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/GearJoint" GearJoint Class GearJoint 齿轮关节:用来模拟两个齿轮间的约束关系,齿轮旋转时,产生的动量...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/HTMLCanvas" HTMLCanvas Class HTMLCanvas HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。 Hierarchy Reso...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Transform3D" Transform3D Class Transform3D Transform3D 类用于实现3D变换。 Hierarchy EventDispatcher Transform3D NativeTransform3...
来源: Laya3.0_api 发布时间: 20231115