大约有 1,557 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0053 秒)
Laya_社区(551) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(69) Laya2.0_示例(2)
...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
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
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
LAYA的POOL有毒 class A extends B 如果用createByClass(B)创建一个B的实例出来,因为找不到__className属性,会创建一个_$gid=XXX到B里面, 这时候如果创建一个A出来,会直接用XXX去找到这A的父级,也就是B去创建实例...应该是原型链机制 如图:GuaJi_p...
来源: Laya_社区 发布时间: 20230414
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
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 如何检测Animation动画播放完毕后去执行方法? 问题状态 最新活动: 2018-10-29 15:04 浏览:...
来源: Laya_社区 发布时间: 20181029
...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
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 引擎有没有管理或访问系统剪贴板的方法函数 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 LayaAir 2D...
来源: Laya_社区 发布时间: 20171020
...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
...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