大约有 55 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0049 秒)
...什么看不到的 API 里面查看Tab控件的内容,只显示如下: Public Properties Show Inherited Public Properties Protected Properties Show Inherited Protected Properties Public Methods Show Inherited Public Methods Protected Methods Show Inherited Protected Methods Events Show Inherited...
来源: Laya_社区 发布时间: 20170702
...观察看看,下面贴上代码import './aui/aui'; import { Game } from './public/Game'; import Stage = Laya.Stage; export class TexasMain{ private balls:Laya.Sprite = ; constructor(){ Config.isAntialias = true // alert("宽"+Laya.Browser.clientWidth+"高"+Laya.Browser.clientHeight ); // Laya.init(L...
来源: Laya_社区 发布时间: 20180226
... import ui.TaskUI; import view.TestView; public class LayaUISample { private var btn1:Button; private var btn2:Button; private var taskView:TaskUI; ...
来源: Laya_社区 发布时间: 20180425
...; import laya.utils.Handler; import ui.TestDialogUI; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var _path2:Sprite = new Sprite(); private var arr:Array = ; priva...
来源: Laya_社区 发布时间: 20171129
...le; import laya.ui.Image; import laya.utils.Handler; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var arr:Array = []; public function TestView() { super(); _path.p...
来源: Laya_社区 发布时间: 20171113
... webview.addJavascriptInterface(new JavaScriptinterface(this), "android"); public class JavaScriptinterface { Context mContext; public JavaScriptinterface(Context c) { mContext= c; } /** * 与js交互时用到的方法,在js里直接调用的 */ @JavascriptInterface public void showToast(S...
来源: Laya_社区 发布时间: 20180222
...个定义啊,我在想自己建个空的类就好了 package flash.ui { public class Mouse { public function Mouse() { } public static function hide():void { } public static function show():void { } } } cuixueying • 2017-03-17 19:46 有没有例子,上传一个,我们看下!
来源: Laya_社区 发布时间: 20170317
...////////////////////////////////java////////////////////////////////////// public static void showError(){ Log.e("showerror","show"); new AlertDialog.Builder(MainActivity.my_activity).setTitle("error" ).setMessage("加载游戏失败,可能由于您的网络不...
来源: Laya_社区 发布时间: 20180116
...ss Main extends Laya.Script { @property({ type: Laya.Sprite }) public player: Laya.Sprite; @property({ type: Laya.Sprite }) public joystick: Laya.Sprite; @property({ type: Laya.Sprite }) public map: Laya.Sprite; @property({ type: Laya.Sprite }) p...
来源: Laya_社区 发布时间: 20251125
...t threeDimen.common.SpriteMoveScript; import threeDimen.common.SpriteStat; public class LayaAir3D { private var box:MeshSprite3D; private var sphereBody:Object; private var world:Object; private var CANNON:Object; public function LayaAir3D() { //初始化引擎 Laya3D.init(0, 0, true); //适配模...
来源: Laya_社区 发布时间: 20170331