大约有 1,062 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0048 秒)
Laya3.0_api(409) Laya2.0_api(226) Laya_社区(219) laya_api(168) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(7) Laya_示例(3)
.../// <summary> /// 自定义的编辑器窗口 /// </summary> public class MyWindow : EditorWindow { string myString = "Hello World !"; // 文本内容 bool groupEnabled; // 选项组是否可用 bool myBool = true; // 复选框状态 float myFloat = 2.33f; // 滑动条的值 ...
来源: Laya_社区 发布时间: 20171102
...现复制到粘贴板 /** * 复制到粘贴板 * @param value * */ public static function copyToClipBoard(value:String):void{ var input:Object; input = Browser.createElement("input"); input.setAttribute('readonly', 'readonly'); input.setAttribute("value",value); Browser.document.body.ap...
来源: Laya_社区 发布时间: 20191216
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/RenderTextureCube" RenderTextureCube Class RenderTextureCube Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Inde...
来源: Laya3.0_api 发布时间: 20231102
Laya2.0 OC调用js export default class Test { public static onClick():void{ alert("456") } } [[conchRuntime GetIOSConchRuntime] runJS:@"Test.onClick()"]; error: ReferenceError: Can't find variable: Test p.p1 {margin: 0.0px 0.0px 0.0px 0.0px...
来源: Laya_社区 发布时间: 20190313
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/Rigidbody3D" Rigidbody3D Class Rigidbody3D Rigidbody3D 类用于创建刚体碰撞器。 Hierarchy PhysicsTriggerComponent Rigidbody3...
来源: Laya3.0_api 发布时间: 20231115
...mport laya.utils.Ease; import laya.utils.Handler; import laya.utils.Tween; public class LayaAirDemo { private var sp:Sprite; private var num:int; public function LayaAirDemo() { Laya.init(550,400); sp=new Sprite(); sp.graphics.drawCircle(0,0,50,"#00FFFF"); Laya.stage.addChild(sp); sp.pos(100,100); T...
来源: Laya_社区 发布时间: 20160913
...code>Texture</code> 对象。 */ public static function create(source:*, x:Number, y:Number, width:Number, height:Number, offsetX:Number = 0, offsetY:Number = 0, sour 2018-09-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20180906
...return 返回创建的handler实例。 */ public static function create(caller:*, method:Function, args:Array = null, once:Boolean = true):Handler { if (_pool.length) return _pool.pop().setTo(caller, method, args, once); ...
来源: Laya_社区 发布时间: 20180704
...ole.log("new Entry"); Browser.__init__(); Laya.init(1280,720,WebGL); public static function __init__():* { console.log("Brower Init CCCCCC"); if (_window) return _window; console.log("Brower Init DDDDDDDD"); ...
来源: Laya_社区 发布时间: 20200810
...的转化成小写 于是就在下面数组中找不到对应类。报错 public static var _classMap:Object = {'Sprite': 'laya.display.Sprite', 'Text': 'laya.display.Text','animation': 'laya.display.Animation', 'Animation': 'laya.display.Animation', 'Skeleton': 'laya.ani.bone.Skeleton', 'Particle2D...
来源: Laya_社区 发布时间: 20180312