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

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

871. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 57%]

...int对象父容器rotation旋转之后检测不了碰撞   附上代码  class FishPonds extends Laya.Sprite { public are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are...

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

872. laya.d3.core.particleShuriKen.module.GradientVelocity [ 57%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientVelocityInheritanceGradientVelocity ObjectImplements laya.d3.core.IClone GradientVelocity 用于创建渐变速...

来源: laya_api 发布时间: 20170929

873. laya.d3.core.particleShuriKen.module.GradientVelocity [ 57%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientVelocityInheritanceGradientVelocity ObjectImplements laya.d3.core.IClone GradientVelocity 用于创建渐变速...

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

874. LAYA的POOL有毒 [ 57%]

LAYA的POOL有毒 class A extends B 如果用createByClass(B)创建一个B的实例出来,因为找不到__className属性,会创建一个_$gid=XXX到B里面, 这时候如果创建一个A出来,会直接用XXX去找到这A的父级,也就是B去创建实例...应该是原型链机制 如图:GuaJi_p...

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

875. laya.ani.bone.Templet [ 57%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TempletProperties | Methods | Events Packagelaya.ani.boneClasspublic class TempletInheritanceTemplet laya.ani.AnimationTemplet 动画模板 Public Properties PropertyDefined By  aniSectionDic : ObjectTemplet  bi...

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

876. 2.0里Texture方法有改变吗? [ 57%]

...有通过一个的名字(字符串)来获取该的方法?似get class by name [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 如何检测Animation动画播放完毕后去执行方法? 问题状态 最新活动: 2018-10-29 15:04 浏览:...

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

877. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 57%]

...laya.ui.Button; import laya.utils.Handler; import laya.webgl.WebGL; public class ComponentDemo { //按钮资源路径 private var skin:String = "./res/img/btn_test.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(1334,750, WebGL); //设置...

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

878. eval替换,提供下Browser.window.eval()替换方法 [ 57%]

...有通过一个的名字(字符串)来获取该的方法?似get class by name 引擎有没有管理或访问系统剪贴板的方法函数 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 LayaAir 2D...

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

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

...ck); // 初始化 UI 界面显示 this.reset(); } // 注册 Start Laya.class(Start,"Start",_super); var _proto = Start.prototype; // 初始化 UI 界面显示 _proto.reset = function(){ } _proto.onBeginClick = function(){ dialog.close(); restart(); } _proto.onLinkClick = function(){ alert("***")...

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

880. 图集打包后使用Texture不显示,项目整个已经传上来了 [ 57%]

...Laya.Loader; import Texture = Laya.Texture; import Handler = Laya.Handler; class GameMain{ constructor() { Laya.init(600,400); this.hahaha(); } private hahaha(): void { var assets: Array<any> = []; assets.push({ url: "res/start.json", type: Loader.ATLAS}); Laya.loader.load(assets, Handler.crea...

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