mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-12-05 20:29:10 +00:00
仓库中添加内置的demo
This commit is contained in:
18
demo/assets/script/header.ts
Normal file
18
demo/assets/script/header.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @Author: Gongxh
|
||||
* @Date: 2025-01-15
|
||||
* @Description:
|
||||
*/
|
||||
|
||||
import * as cc from "cc";
|
||||
import * as fgui from "fairygui-cc";
|
||||
import * as kunpo from "kunpocc";
|
||||
import * as KunpoAssets from "kunpocc-assets";
|
||||
import * as protoRoot from './Socket/proto/proto.js';
|
||||
|
||||
type ProtoType = typeof protoRoot;
|
||||
const proto = (protoRoot["default"] || protoRoot) as ProtoType;
|
||||
export const protocol = proto.com.kunpo.proto;
|
||||
|
||||
export { cc, fgui, kunpo, KunpoAssets };
|
||||
|
||||
Reference in New Issue
Block a user