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

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

161. 如何启用摇一摇 [ 38%]

...last_z) / diffTime * 600'); __JS__('if (speed > SHAKE_THRESHOLD)_model.sendMoney = speed;//将得到的摇晃速度发送到 _model}}'); } } }    最后layabox会转换成如下   //class controller.Controller_yao1yao var Controller_yao1yao=(function(){ function Controller_yao1yao(model){ /*_...

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

162. 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined [ 38%]

.../laya.physics3D.js") // loadLib("libs/laya.physics3D.wasm.js") //-----libs-end------- //-----self-libs----- loadLib("libs/common/Tool.js") loadLib("libs/common/CameraMoveScript.js") loadLib("js/bundle.js"); 测试安卓平台打包异常   具体日志  10-15 16:43:46.702: I/LayaBox(3503): alert=...

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

163. laya.utils.PerfHUD [ 36%]

...Bounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以...

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

164. [LayaAir3]LayaAir3.0UnityPlugin 导出出错 [ 35%]

...r: Invalid GUILayout state in LayaAir3D view. Verify that all layout Begin/End calls match UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)  MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should eit...

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

165. laya.device.media.Video_API3.0 [ 33%]

...ORT_PROBABLY WEBM drawtocanvCtx Accessors active activeInHierarchy alpha blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphi...

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

166. laya.media.VideoNode_API3.0 [ 32%]

... _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphi...

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

167. laya.ui.ScrollBar [ 30%]

...Bounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显...

来源: laya_api 发布时间: 20170929

168. laya.ui.ScrollBar [ 29%]

...Bounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定...

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

169. 动画状态机详解 · LayaAir3.0文档 · LAYABOX [ 29%]

...: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... th...

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

170. socket大型项目回调 [ 27%]

...nstructor(){ if(!console.group){ console.group = console.log; console.groupEnd = function(){console.log("----")}; console.info = console.log; console.warn = console.log; console.error = console.log; } this._message = new Message(); this._package = new Package(); this.socket = null; this.callbacks = ...

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