大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)
Laya_社区(1068) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(109)
...理引擎文档都是IDE篇的。 我试着用代码实现物理效果class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_clos...
来源: Laya_社区 发布时间: 20190428
...里是随便取的名。 ```typescript import laya.d3.component.Script3D; class SceneScript extends Script3D { //用于表现的方法 public var showMsgFunc:Function; public function SceneScript() { } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 public fun...
来源: Laya2.0_文档 发布时间: 20210715
...or: Cannot read property 'cursor' of undefined错误 Uncaught Can not find class Laya.Text 【求助大神】在目标scene中添加2d的多边形刚体后,跳转该页面启动时报Uncaught Error at Object.box2d.b2Assert (laya.physics.js:38) 问题状态 最新活动: 2019-09-06 09:07 浏览: 34...
来源: Laya_社区 发布时间: 20190905
...回复 陆仁毅 赞同来自: 为世界献上奇迹 在core.js包里的,class Input .... 他的 _focusOut方法 加上这行话 2019-10-28 1 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 没有复现 2019-10-22 0 1 分享 微博 QZONE 微信 为世界献上奇迹 赞同来自: 2019-10-...
来源: Laya_社区 发布时间: 20191022
...pescript //继承自AnimatorStateScript(动画状态脚本) export default class AnimatorStateScriptTest extends Laya.AnimatorStateScript { private _text:Laya.Text; constructor() { super(); } get text():Laya.Text { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始...
来源: Laya2.0_文档 发布时间: 20210715
...e.media.Video; import laya.events.Event; import laya.utils.Browser; public class Main { public function Main() { Laya.init(500,500); Laya.stage.once(Event.CLICK,this,this.clickHandler); } private function clickHandler():void { var iframe:Object = Browser.document.createElement("iframe"); iframe.styl...
来源: Laya_社区 发布时间: 20180223
... * fontClip.value = "a1326";//显示"a1326"文字 */ public class FontClip extends Clip { /**数值*/ protected var _valueArr:String; /**文字内容数组**/ protected var _indexMap:Object; /**位图字体内容**/...
来源: Laya_社区 发布时间: 20180414
...据官方教程:FlashBuilder-LayaCompiler-运行提示"must set Document Class!" 问题状态 最新活动: 2019-12-05 12:51 浏览: 2515 关注: 6 人 A • 2019-12-25 18:19 调试需要生成maps https://ldc2.layabox.com/doc/% ... 3-0-7 A • 2019-12-25 18:21 不过现在laya官方已经出了vs...
来源: Laya_社区 发布时间: 20191120
... { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 类的实例对象 list 。 private n:number = 0;...
来源: Laya_社区 发布时间: 20200203
...er.JUMP = "player_jump"; //状态 Player.DIE = "player_die"; //Player Laya.class(Player,"Player", laya.display.Sprite); var _proto = Player.prototype; //是否缓存了 Player.cached = false; _proto.init = function(){ //动画缓存起来 if(!Player.cached){ Player.cached = true; //根据不同的...
来源: Laya_社区 发布时间: 20160801