大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0064 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
....scene"); this.close(); } a和b都是独立的ts类, export default class a extends ui.a {……} 同时a和b都是对应的dialog ui文件a.scene 和b.scene的runtime属性关联过去的。
来源: Laya_社区 发布时间: 20190521
... /** * ... * @author yung */ public class LayaAirDemo { private var red:Sprite; private var box:Sprite; public function LayaAirDemo() { Laya.init(1200, 800); Laya....
来源: Laya_社区 发布时间: 20161122
...示分数的界面,比如我写了A.ui文件,自动生成一个ts类,class A extends ui.AUI,但是这个ui命名空间并不存在,如果我手动改成extends Laya.View(.ui文件里用的View标签),那么我如何让这个类去使用这个.ui文件呢?就像eui里指定skin一样...
来源: Laya_社区 发布时间: 20180323
...比较像 只是多了个命名空间declare namespace autobahn { export class Session { id: number; realm: string; isOpen: boolean; features: any; ..................................然后在ts文件中 new autobahn.引用华丽丽的出现了 如果谁有更好的方法 一起讨论研究.. 2018...
来源: Laya_社区 发布时间: 20180805
... this.mainCameraAnimation = null; this.scene = null; } Laya.class(ObjectRotate, "ObjectRotate", Laya.Script); //这是什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) { var _this = this; ObjectRotate.__super.prototype._initialize.call...
来源: Laya_社区 发布时间: 20170810
...aya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class LayaAirDemo { private var templete:Templet;//动画模板类 private var skeleton:Skeleton;//骨骼动画类 private var curNum:int=0;//curNum%2求余数,切换不同皮肤 public function LayaAirDemo() { Laya.init(Br...
来源: Laya_社区 发布时间: 20170324
...age资源 以下为加载代码,请问这样使用是否正确: class ShuiPao extends Sprite3D { constructor() { super(); let mesh = Sprite3D.load('resources/shuipao.lh'); this.addChild(mesh); ...
来源: Laya_社区 发布时间: 20170608
...deo播放视频 * @ author:xs * @ data: 2024-03-05 16:20 */ export default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo.setSource("htt...
来源: Laya_社区 发布时间: 20240305
...API Usage警告 nm libconch.a | grep UIW U _OBJC_CLASS_$_UIWebView 0000000000002620 s l_OBJC_$_PROTOCOL_INSTANCE_METHODS_OPT_UIWebViewDelegate 0000000000002688 s l_OBJC_$_PROTOCOL_METHOD_TYPES_UIWebViewDelegate 0000000000002608 s l_OBJC_$_PROTOCOL_REFS_UIWebViewDelegate 000...
来源: Laya_社区 发布时间: 20190910
...;Dictionary</code> 是一个字典型的数据存取类。 */ public class Dictionary { private var _lenght:int = 0; private var _values:Array = []; private var _keys:Array = []; /** * 获取字典的长度。 */ public function get lenght():int { return _lenght; } /** * 获取所有的子元...
来源: Laya_社区 发布时间: 20180619