大约有 202 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0044 秒)
...*******************************************************/ class DollGunRole extends GunRole{ public _box: GunBox; // toset: /** 飞行的范围, 用于计算飞行路径 */ private _fly_site:Site = new SiteEntity( 10, 10, -1, 400 ); public static _ani_cached:boolean = false; // toset: /** 飞...
来源: Laya_社区 发布时间: 20180515
...直等于-1? -------------------------------- class RoleControlScript extends Laya.Script{ /*角色模型*/ public roleModel:Laya.Sprite3D; /*角色动画组件*/ public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画是否完成*/ public aniCo...
来源: Laya_社区 发布时间: 20171113
...aMaxUI"; import MyDialogUI = ui.game.MyDialogUI; export class MyDialog extends MyDialogUI { constructor() { super(); } onOpened(param: any): void { console.log("mylog------:" + JSON.stringify("onOpened")); this.openDataView.postMsg("test10086"); ...
来源: Laya_社区 发布时间: 20190307
...plicationDomain; import flash.system.LoaderContext; public class SwfBinary extends Sprite { public function SwfBinary() { super(); if(stage) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { var loader:Loader=new Loader(); var context...
来源: Laya_社区 发布时间: 20151224
...———————————————— public class MainActivity extends Activity{ private IPlugin mPlugin = null; private IPluginRuntimeProxy mProxy = null; boolean isLoad=false; boolean isExit=false; private WebView webView = null; private Acti...
来源: Laya_社区 发布时间: 20170517
..."Box", "props": {"name": "render", "right": "0", "left": "0"}}; class Item extends Box { constructor() { super(); this.right = 0; this.left = 0; var selectBox: Clip = new Clip("../../res/ui/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox";//设置 selectBox 的name 为“selectBox”时...
来源: Laya_示例 发布时间: 20250219
....addChild(this.text); } } //激活启动类 new Main(); class MonkeyScript extends Laya.Script3D{ constructor(){ super(); this.scene = null; this.text = null; this.camera = null; this.lastPosition = new Laya.Vect...
来源: Laya_社区 发布时间: 20190531
...一个简单的继承的示范: ```typescript class HttpRequestExtension extends Laya.HttpRequest { constructor() { super(); } public send(url:string,data:any=null,method:string="get", responseType:string="text", headers:any=null):void{ super.send(url,data,method,responseType,headers); this._http....
来源: Laya2.0_文档 发布时间: 20210715
...interface IOctreeOptions { root: Octree; aabb: AABB; } export class Octree extends OctreeNode { maxDepth: number; constructor(aabb: AABB, options: IOctreeOptions); aabbQuery(aabb: AABB, result: Object[]): Object[]; insert(aabb: AABB, elementData: Object): boolean; rayQuery(ray: Ray, treeTransform: T...
来源: Laya2.0_文档 发布时间: 20210715
...a package { import laya.net.HttpRequest; public class HttpRequestExtension extends HttpRequest { public function HttpRequestExtension() { super(); } public override function send(url:String, data:*=null, method:String="get", responseType:String="text", headers:Array=null):void { super.send(url,data,...
来源: Laya2.0_文档 发布时间: 20210715