大约有 3,253 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya_社区(2450) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(82) Laya_示例(52) Laya2.0_示例(18)
...U01 : MonoBehaviour { private bool isRenderer = false; private Renderer renderers; void Awake () { renderers = transform.GetComponent<Renderer> (); } void Update () ...
来源: Laya_社区 发布时间: 20171113
...我利用下式旋转后, this.needle.transform.rotate(vect,false,false); 我可以看到模型transform.rotation值的变化, console.log(this.needle.transform.rotation); 但是,我查看 console.log(this.needle.transform.rotationEuler); 却是却是 undefi...
来源: Laya_社区 发布时间: 20171206
...用了新的编译命令,请使用 "${project_loc}\asconfig.json;iflash=false;chromerun=true;quickcompile=true;out=.laya/temp.js;subpath=" 代替官方教程中的配置! 配置中的true和false大家酌情修改。 ------------------------------ 发现这个只是一个步奏,后面还...
来源: Laya_社区 发布时间: 20190404
...ue; this._lastOffset=0; this._checkElastic=false; this._lastPoint || (this._lastPoint=new Point()); this._lastPoint.setTo(Laya.stage.mouseX,Laya.stage.mouseY); Laya.timer.clear(this,this.tweenMove); Tw...
来源: Laya_社区 发布时间: 20201118
...otion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 RotationInfo alpha : Number Z轴旋转角度,其值范围从0至360。 若absolute为true或者在IOS中,alpha值是从北方到当前设备方向...
来源: laya_api 发布时间: 20170929
... super(); LoginGame.instance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("LoginGame.scene"); } onEnable() { SoundManager.playMusic("audio/梅林茂 - 静かな古都.mp3", 0); this.login_game_button.on(Laya.Event.CLICK, this,this.onStartButtonClick); } onStartButtonClick(){ /...
来源: Laya_社区 发布时间: 20181124
...list中添加多元素的item 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同时滚动一模一样。 Native2.0正式版...
来源: Laya_社区 发布时间: 20180319
...x >= mArmature.getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class ChangeSki...
来源: Laya_示例 发布时间: 20260303
...dManager.playMusic("res/1_3.mp3"); let _pause:boolean = false; btn1.on(Laya.Event.CLICK,this,()=>{ if(!_pause)return; sound.pause(); _pause = false }) btn2....
来源: Laya_社区 发布时间: 20200922
...e items : *[static] 数据列表。 LocalStorage support : Boolean = false[static] 表示是否支持 LocalStorage。 LocalStoragePublic Methods MethodDefined By __init__():void[static] LocalStorage clear():void[static] 清除本地存储信息。 LocalStorage getItem(key:String):St...
来源: laya_api 发布时间: 20170929