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

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

631. 微信小游戏发布后,在开发者工具中报错, [ 88%]

... Unexpected token in JSON at position 787;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 787 at JSON.parse (<anonymous>) at Function.e.getJson (http://127.0.0.1:37389/game/code.js:1:461434) at Function.e.onReadNativeCallBack (http://127.0.0.1:37389/...

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

632. laya.physics.joint.JointBase [ 88%]

...:*  [read-only] [只读]原生关节对象 Implementation     public function get joint():*Method Detail_createJoint()method protected function _createJoint():void_onAwake()method override protected function _onAwake():void_onDisable()method override protected function _onDisable():void_onEn...

来源: Laya2.0_api 发布时间: 20190513

633. laya.d3.physics.shape.CylinderColliderShape [ 88%]

...height:Number  [read-only] 获取高度。 Implementation     public function get height():Numberorientationproperty orientation:int  [read-only] 获取方向。 Implementation     public function get orientation():intradiusproperty radius:Number  [read-only] 获取半径。 Implemen...

来源: Laya2.0_api 发布时间: 20190513

634. laya.d3.physics.shape.ConeColliderShape [ 88%]

...height:Number  [read-only] 获取高度。 Implementation     public function get height():Numberorientationproperty orientation:int  [read-only] 获取方向。 Implementation     public function get orientation():intradiusproperty radius:Number  [read-only] 获取半径。 Implemen...

来源: Laya2.0_api 发布时间: 20190513

635. laya.d3.graphics.VertexPositionNormalTexture0Texture1 [ 88%]

...lnormalpropertynormal:Vector3  [read-only] Implementation     public function get normal():Vector3positionproperty position:Vector3  [read-only] Implementation     public function get position():Vector3textureCoordinate0property textureCoordinate0:Vector2  [read-only] Implementation ...

来源: laya_api 发布时间: 20170929

636. 骨骼动画进阶(ActionScript-2D进阶篇(AS3)-动画进阶) [ 88%]

...*/ public class SkeletonTempletSample { public var templet:Templet; public function SkeletonTempletSample() { WebGL.enable(); Laya.init(1000, 900); //创建动画模板 templet = new Templet(); templet.on(Event.COMPLETE, this, parseComplete); templet.on(Event.ERROR, this, onError); //加载动画文...

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

637. 不能成功调用 DiaLog Close 关闭方法 [ 88%]

...成功调用 DiaLog Close 关闭方法 /** * Start 界面 */ var Start = (function(_super){ function Start(){ Start.super(this); // 注册点击开始事件 this.beginBtn.on(Laya.Event.CLICK,this,this.onBeginClick); // 注册跳转事件 this.linkMsleanBtn.on(Laya.Event.CLICK,this,this.onLinkClick);...

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

638. laya.components.AnimatorController2D_API3.0 [ 88%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

639. 区块地图-等角地图 [ 88%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var MapLayer = Laya.MapLayer; var TiledMap = Laya.TiledMap; var Point = Laya.Point; var Rectangle = Laya.Rectangle; var Handler = Laya.Handler; var WebGL = Laya.W...

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

640. laya.d3.math.Color [ 88%]

...ty public var r:Numberred分量Constructor DetailColor()Constructorpublic function Color(r:Number = 1, g:Number = 1, b:Number = 1, a:Number = 1) 创建一个 Color 实例。 Parameters r:Number (default = 1) — 颜色的red分量。  g:Number (default = 1) — 颜色的green分量。  b:Number (...

来源: Laya2.0_api 发布时间: 20190513