大约有 74 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
...edInstanceState); getWindow().requestFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); mProxy = new RuntimeProxy(this); mPlugin = new GameEngine...
来源: Laya_社区 发布时间: 20170517
...OCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Test WebSocket</title> <script type="text/javascript"> //显示信息 var log = function(s) { if (document.readyState !== "complete") { log.buffer.push(s); } else { doc...
来源: Laya_社区 发布时间: 20170724
...: 1266 关注: 5 人 大大大懒猫 • 2018-09-10 10:39 export class ShopTitle extends Laya.Script{ public title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya....
来源: Laya_社区 发布时间: 20180814
...(图1-2) 三、常见问题 拖入一个GButton到舞台,设置它的Title为何没有任何效果? GButton是一个行为组件,它不带显示功能。你需要制作自己的按钮再拖入使用。当然,也可以使用“UI组件(默认皮肤)”里的提供的预制好的按钮...
来源: Laya3.0_文档 发布时间: 20251010
... Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.title = 'GG游戏; if (Laya.Browser.onPC) { //设置舞台缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.scre...
来源: Laya_社区 发布时间: 20181213
... Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.title = 'GG游戏; if (Laya.Browser.onPC) { //设置舞台缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.scre...
来源: Laya_社区 发布时间: 20181202
... Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.title = 'GG游戏; if (Laya.Browser.onPC) { //设置舞台缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.scre...
来源: Laya_社区 发布时间: 20181208
...定义类型 export class Demo { constructor( options: Object ); addScene( title: string, initfunc: Function ): void; restartCurrentScene(): void; } } //多级模块 declare module laya.ani.bone { class EventData { name:string; intValue:number; floatValue:number; stringValue:string; audioValue:strin...
来源: Laya2.0_文档 发布时间: 20210715
..."); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改变了!"); }) } } 四、程序化生成界面 4.1 常用方法 除了使用UI编辑器制作界面,也可以使用代码的方式去创建一些常用的UI组件,...
来源: Laya3.0_文档 发布时间: 20251010
...w id="container"> <text id="testText" class="redText" value="' + (it.title) + '"></text> </view>'; return out; } 我们可以为这个函数传入一个参数值,并执行这个函数,就可以得到一个XML格式的字符串: const it = { title: 'hello canvas' } let temp...
来源: Laya3.0_文档 发布时间: 20251010