大约有 1,483 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0051 秒)
Laya_社区(800) Laya3.0_api(343) Laya2.0_api(142) laya_api(114) Laya2.0_文档(52) Laya3.0_文档(23) Laya2.0_示例(5) Laya_示例(4)
... 在构建的项目中打开MainActivity.java,搜索 mPlugin.game_plugin_set_option("localize","false"); 单机版需要设置为"true",如mPlugin.game_plugin_set_option("localize","true"); 如果要设置为网络版,就要修改为:mPlugin.game_plugin_set_option("localize","false"); 并且...
来源: Laya3.0_文档 发布时间: 20250104
...ttp://www.gamework.cn/blog/post/qykings/sprite%E4%B9%8Bbug public function set scaleX(value:Number):void { var style:Style = getStyle(); if(!style) { trace("----sprite--") return; } if(!style._tf) { trace("----sprite--_tf is null--"); return; } if (style._tf.scaleX !...
来源: Laya_社区 发布时间: 20170608
...片就行了,以后默认导入图片都是精灵纹理 @IEditorEnv.regAssetProcessor() export class ImageLoader implements IEditorEnv.IAssetProcessor { onPreprocessImage(aassetImporter: IEditorEnv.IImageAssetImporter): void | Promise<void> { if (aassetImporter.settings.t...
来源: Laya_社区 发布时间: 20240620
...境](https://github.com/layabox/layaair-doc/tree/master/Chinese/LayaNative/setUpAndroidEnvironment_Eclipse) - [Android Studio的使用和配置](https://github.com/layabox/layaair-doc/tree/master/Chinese/LayaNative/AndroidStudio_ConfigurationAndApplication) - [IOS打包发布App详细流程](https:/...
来源: Laya2.0_文档 发布时间: 20210715
... npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config' npm ERR! A complete log of this run can be found in: npm...
来源: Laya_社区 发布时间: 20180117
类库升级到2.2.0及以上后,没有Laya.superSet和superGet了,有替代方案吗? 如题,之前用Laya.superSet和Laya.superGet做get/set重写的,现在升级版本后没有了,有什么替代的接口或方案吗 2020-02-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20200225
...plementation public function get x():Number public function set x(value:Number):voidyproperty y:Number 获取Y轴坐标。 Implementation public function get y():Number public function set y(value:Number):voidConstructor DetailVector2()Constructorpublic function Vector...
来源: laya_api 发布时间: 20170929
...两行代码注释了,不知道是不是这个原因: //rayResultCall.set_m_collisionObject(null);//还原默认值 //rayResultCall.set_m_closestHitFraction(1);//还原默认值 =========== 测试数据如下: 点击屏幕: 176 108.77555084228516 rayCastAll碰撞点:-4.582136154174805 0.00...
来源: Laya_社区 发布时间: 20181221
... 在构建的项目中打开MainActivity.java,搜索 mPlugin.game_plugin_set_option("localize","false"); 单机版需要设置为"true",如mPlugin.game_plugin_set_option("localize","true"); 如果要设置为网络版,就要修改为:mPlugin.game_plugin_set_option("localize","false"); 并且...
来源: Laya3.0_文档 发布时间: 20250310
...视遮罩层的控制,对精灵的渲染与否进行控制 ```typescript set layer(value: Number); ``` - 3.是否为静态精灵,静态精灵可进行静态核批(静态合批自动进行),精灵为静态对象是静态合批的基础,可在Unity中制作场景时,进行勾选,Laya...
来源: Laya2.0_文档 发布时间: 20210715