大约有 1,182 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0041 秒)
Laya3.0_api(429) Laya_社区(250) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(26) Laya2.0_示例(6) Laya_示例(6)
...er.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:435) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:337) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Refle...
来源: Laya_社区 发布时间: 20180411
...niFly:Animation; private btn:Sprite; private txt:Text; private isDestroyed:Boolean = false; private readonly PathBg:string = "../../res/bg2.png"; private readonly PathFly:string = "../../res/fighter/fighter.atlas"; constructor() { //初始化引擎 Laya.init(Browser.clientWidth, Browser.clientHeight...
来源: Laya_示例 发布时间: 20250226
...; i < studentArr.length; i++) { var ob:Object = studentArr[i]; var bo:Boolean; (ob.signState)? bo=true:bo=false; (ob.signState)? str="已到":str="未到"; arr.push({name_txt:{text:ob.stuName}, state_txt:{text:str},sign_btn:{mouseEnabled:bo}, sign_btn:{gray:!bo}}); } thi...
来源: Laya_社区 发布时间: 20170822
...c instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: Boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPosi...
来源: Laya2.0_文档 发布时间: 20210715
...,整了个临时解决方案,有同样问题的可以试试 let isIphone: boolean let iphoneVer: number Laya.LayaEnv.beforeInit = () => { try { let md = new MobileDetect(navigator.userAgent); iphoneVer = md.version("iPhone") isIphone = Laya.Browser.onIPhone if (isIphone) { if (iphoneVer >= 15 ...
来源: Laya_社区 发布时间: 20230425
...建一个 BaseShape 实例。 Returns BaseShape Properties enable enable: boolean = true Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:26 是否启用。 randomDirection randomDirection: number = 0 Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:28 随机方...
来源: Laya3.0_api 发布时间: 20231115
...不用这个缓存读数据, 就可以把 socket的属性 disableInput:Boolean = false; 的值设为true 如果没有解决问题,请附上demo 或更详细的信息,以供排查问题 2017-12-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20171214
....EncodeToPNG'. LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:417) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:323) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Refle...
来源: Laya_社区 发布时间: 20170926
...右向左的显示顺序*/ public static var RightToLeft:Boolean = false; /** * 设置文字排版模式为右到左。 */ public static function setTextRightToLeft():void { var style:Object;...
来源: Laya_社区 发布时间: 20180703
...var tempRotationY:Quaternion = new Quaternion(); protected var isMouseDown:Boolean; protected var rotaionSpeed:Number = 0.00006; protected var camera:BaseCamera; protected var scene:Scene; public function CameraMoveScript() { } override public function _initialize(owner:Sprite3D):void { super._initi...
来源: Laya_社区 发布时间: 20170218