代码拉取完成,页面将自动刷新
同步操作将从 向前/cocos-creator-front-frame 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
interface myWindow extends Window {
wx?: any;
tt?: any;
jsb?: any;
}
declare var window: myWindow;
declare var __filename: string;
declare function require(name: string, str?: string): any;
// declare namespace Editor {
// export function error(msg: any, ...subst: any[]): void;
// export function warn(msg: any, ...subst: any[]): void;
// export function log(msg: string | any, ...subst: any[]): void;
// }
declare namespace cc {
export module App {
export var EventType: { EVENT_APP_INITED: string };
}
export module app {
export function error(msg: any, ...subst: any[]): void;
export function warn(msg: any, ...subst: any[]): void;
export function log(msg: string | any, ...subst: any[]): void;
export function emit(msg: string | any, ...subst: any[]): void;
export function on(msg: string | any, ...subst: any[]): void;
export function once(msg: string | any, ...subst: any[]): void;
export function off(msg: string | any, ...subst: any[]): void;
export var appVersion: string;
export var setting: any;
export var lib: any;
export var tool: any;
export var ecs: any;
export var data: any;
export var config: any;
export var manager: any;
export var Manager: any;
export var appReady: boolean;
export var appInited: boolean;
export var cccReady: boolean;
export var cccInited: boolean;
}
}
declare namespace cc.Node {
export function isNode(node: cc.Node): boolean;
}
// class Node {
// static isNode(node: cc.Node): boolean;
// convertNodeToNodeSpaceAR(node: cc.Node, pos: { x: number, y: number }): cc.Vec2;
// convertNodeToNodeSpace(node: cc.Node, pos: { x: number, y: number }): cc.Vec2;
// convertNodeToParentSpaceAR(node: cc.Node, pos: { x: number, y: number }): cc.Vec2;
// convertNodeToParentSpace(node: cc.Node, pos: { x: number, y: number }): cc.Vec2;
// getComponentsInParent<T extends cc.Component>(type: { prototype: T }): T[];
// getComponentsInParent(className: string): any[];
// getComponentInParent<T extends cc.Component>(type: { prototype: T }): T;
// getComponentInParent(className: string): any;
// }
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。