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

大约有 641 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)

101. 分享:避免鼠标快速移动,mouseout和mouseover触发顺序不一致的问题! [ 76%]

...导致的,为了避免这个问题,可以参考以下方式 */ public class MouseOver_mouseOut { private var arr:Array;//用于存储处于over状态的显示对象 public function MouseOver_mouseOut() { Laya.init(600,400); Laya.stage.bgColor='#EEFFCC'; arr=; var sp1:Sprite=new Sprite(); sp1.aut...

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

102. 1.7版本要初始化后有些代码才能用了 [ 76%]

...= new laya.display.Text(); // in this line is error , so you can't defined class before "Laya.init" Laya.init(800,600); //test.text = new laya.display.Text(); // in this line is right test.text.text = "dsafdsdsada"; test.text.color = "#ff0000"; Laya.stage.addChild(test.text); </script> 2017-03...

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

103. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 76%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.List)。 ### 1.1 创建 List 组件 #### 1.编辑列表项。 ​ 列表项可以是 Box 对象或 View(页面) 或其它自定义页面对象。此处以Box 对象为例。 ​ **a.**从资源面板里选...

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

104. laya.d3.shader.Shader3D [ 76%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Shader3DProperties | Methods | Constants Packagelaya.d3.shaderClasspublic class Shader3DInheritanceShader3D BaseShader laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Prope...

来源: laya_api 发布时间: 20170929

105. List数据源的格式问题导致无法响应List的SelectHandler [ 76%]

...ush(skillInfoVO); } list.array = temp;2、SkillInfoVO的相关代码public class SkillInfoVO extends Data { public var Lv:int; public var Name:String; public var Color:int; }3、Data的相关代码public class Data extends EventDispatcher { public function Data() { } protected function dataSourceCha...

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

106. laya.spine.SpineTemplet_API3.0 [ 76%]

...xternals Only exported Menu Globals "laya/spine/SpineTemplet" SpineTemplet Class SpineTemplet Spine动画模板基类 Hierarchy Resource SpineTemplet Index Constructors constructor Properties _id destroyedImmediately lock name skeletonData url uuid DEBUG RuntimeVersion Accessors basePath cpuMemory d...

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

107. 3D中摄像机绕物体旋转该如何实现? [ 76%]

...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...

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

108. 关于Js开发中的List的问题 [ 76%]

...用纯代码写List   在官方代码中发现这段代码,这个Laya.class的第三个参数是什么意思?是Box容器?如果是Box容器的话能不能用其他容器? 有没有关于class的其他方法?         已经参考的网址:https://layaair.ldc.layabox.com/demo/?catego...

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

109. laya.components.AnimatorState2D_API3.0 [ 76%]

...ly exported Menu Globals "laya/components/AnimatorState2D" AnimatorState2D Class AnimatorState2D Animator 类用于创建动画组件。 Hierarchy EventDispatcher AnimatorState2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript cl...

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

110. 官方案例里摄像机绕物体旋转脚本的问题 [ 76%]

...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...

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