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

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

761. 用LayaAirUnityPlugin 1.7.0.unitypackage导入unity 菜单栏没有显示。很急 要爆掉了 [ 54%]

.../// <summary> /// 自定义的编辑器窗口 /// </summary>  public class MyWindow : EditorWindow {  string myString = "Hello World !"; // 文本内容  bool groupEnabled; // 选项组是否可用  bool myBool = true; // 复选框状态  float myFloat = 2.33f; // 滑动条的值  ...

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

762. 一个方法实现复制到粘贴板 [ 54%]

...现复制到粘贴板   /** * 复制到粘贴板  * @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

763. laya.d3.resource.RenderTextureCube_API3.0 [ 54%]

...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

764. Laya2.0 OC调用js [ 54%]

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

765. laya.d3.physics.Rigidbody3D_API3.0 [ 54%]

...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

766. 问一下tween的一些参数怎么设置 [ 54%]

...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

767. 怎么裁剪一张图片 [ 54%]

...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

768. List表单renderHandler问题 [ 54%]

...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

769. wkwebview使用异常 [ 54%]

...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

770. HTMLDivElement [ 54%]

...的转化成小写 于是就在下面数组中找不到对应类。报错 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