drgame-cc 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/drgame.d.ts +632 -0
- package/bin/drgame.js +3010 -0
- package/gulpfile.js +68 -0
- package/package.json +10 -16
- package/scripts/postinstall.js +9 -144
- package/tsconfig.json +26 -0
- package/tvui/config/default.json +82 -0
- package/tvui/config/default.json.meta +6 -0
- package/tvui/config.meta +13 -0
- package/tvui/icons/pointer-blue-60.png +0 -0
- package/tvui/icons/pointer-blue-60.png.meta +38 -0
- package/tvui/icons/pointer-pink-60.png +0 -0
- package/tvui/icons/pointer-pink-60.png.meta +38 -0
- package/tvui/icons/pointer-yellow-60.png +0 -0
- package/tvui/icons/pointer-yellow-60.png.meta +38 -0
- package/tvui/icons.meta +13 -0
- package/tvui/prefab/ExitWin.prefab +765 -0
- package/tvui/prefab/ExitWin.prefab.meta +9 -0
- package/tvui/prefab/Toast.prefab +379 -0
- package/tvui/prefab/Toast.prefab.meta +9 -0
- package/tvui/prefab.meta +13 -0
- package/tvui/tv_exit/Toast.png +0 -0
- package/tvui/tv_exit/Toast.png.meta +38 -0
- package/tvui/tv_exit/close.png +0 -0
- package/tvui/tv_exit/close.png.meta +38 -0
- package/tvui/tv_exit//345/217/226/346/266/210/346/214/211/351/222/256_/346/231/256/351/200/232.png +0 -0
- package/tvui/tv_exit//345/217/226/346/266/210/346/214/211/351/222/256_/346/231/256/351/200/232.png.meta +38 -0
- package/tvui/tv_exit//345/217/226/346/266/210/346/214/211/351/222/256_/351/200/211/344/270/255.png +0 -0
- package/tvui/tv_exit//345/217/226/346/266/210/346/214/211/351/222/256_/351/200/211/344/270/255.png.meta +38 -0
- package/tvui/tv_exit//346/241/206.png +0 -0
- package/tvui/tv_exit//346/241/206.png.meta +38 -0
- package/tvui/tv_exit//347/241/256/350/256/244/346/214/211/351/222/256_/346/231/256/351/200/232.png +0 -0
- package/tvui/tv_exit//347/241/256/350/256/244/346/214/211/351/222/256_/346/231/256/351/200/232.png.meta +38 -0
- package/tvui/tv_exit//347/241/256/350/256/244/346/214/211/351/222/256_/351/200/211/344/270/255.png +0 -0
- package/tvui/tv_exit//347/241/256/350/256/244/346/214/211/351/222/256_/351/200/211/344/270/255.png.meta +38 -0
- package/tvui/tv_exit//351/200/200/345/207/272/346/270/270/346/210/217.png +0 -0
- package/tvui/tv_exit//351/200/200/345/207/272/346/270/270/346/210/217.png.meta +38 -0
- package/tvui/tv_exit.meta +13 -0
- package/bin/drgame-cc.js +0 -143
- package/dist/asset-exporter.d.ts +0 -134
- package/dist/asset-exporter.d.ts.map +0 -1
- package/dist/asset-exporter.js +0 -582
- package/dist/asset-exporter.js.map +0 -1
- package/dist/asset-types.d.ts +0 -190
- package/dist/asset-types.d.ts.map +0 -1
- package/dist/asset-types.js +0 -24
- package/dist/asset-types.js.map +0 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -24
- package/dist/index.js.map +0 -1
- package/dist/utils.d.ts +0 -120
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -391
- package/dist/utils.js.map +0 -1
package/gulpfile.js
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const gulp = require("gulp");
|
|
3
|
+
const minify = require('gulp-minify');
|
|
4
|
+
const ts = require('gulp-typescript');
|
|
5
|
+
const tsProject = ts.createProject('tsconfig.json');
|
|
6
|
+
const inject = require('gulp-inject-string');
|
|
7
|
+
const path = require('path');
|
|
8
|
+
const fs = require('fs');
|
|
9
|
+
|
|
10
|
+
function loadEnvFile() {
|
|
11
|
+
const envPath = path.join(__dirname, '.env');
|
|
12
|
+
if (fs.existsSync(envPath)) {
|
|
13
|
+
const envContent = fs.readFileSync(envPath, 'utf-8');
|
|
14
|
+
envContent.split('\n').forEach(line => {
|
|
15
|
+
const trimmedLine = line.trim();
|
|
16
|
+
if (trimmedLine && !trimmedLine.startsWith('#')) {
|
|
17
|
+
const [key, ...valueParts] = trimmedLine.split('=');
|
|
18
|
+
if (key && valueParts.length > 0) {
|
|
19
|
+
const value = valueParts.join('=').trim();
|
|
20
|
+
if (!process.env[key]) {
|
|
21
|
+
process.env[key] = value.replace(/^["']|["']$/g, '');
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
loadEnvFile();
|
|
30
|
+
|
|
31
|
+
const COCOS_ROOT = process.env.COCOS_CREATOR_ROOT || '..';
|
|
32
|
+
const TVUI_DEST = path.join(COCOS_ROOT, 'assets/resources/tvui');
|
|
33
|
+
|
|
34
|
+
gulp.task('buildJs', () => {
|
|
35
|
+
return tsProject.src()
|
|
36
|
+
.pipe(tsProject())
|
|
37
|
+
.pipe(gulp.dest('./bin'));
|
|
38
|
+
})
|
|
39
|
+
|
|
40
|
+
gulp.task("buildDts", () => {
|
|
41
|
+
return tsProject.src()
|
|
42
|
+
.pipe(tsProject())
|
|
43
|
+
.pipe(gulp.dest('./bin'));
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
gulp.task("copyBuildTemplates", () => {
|
|
47
|
+
return gulp.src('build-templates/**/*')
|
|
48
|
+
.pipe(gulp.dest(path.join(COCOS_ROOT, 'build-templates')));
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
gulp.task("copyTvui", () => {
|
|
52
|
+
if (!fs.existsSync(TVUI_DEST)) {
|
|
53
|
+
fs.mkdirSync(TVUI_DEST, { recursive: true });
|
|
54
|
+
}
|
|
55
|
+
return gulp.src('tvui/**/*')
|
|
56
|
+
.pipe(gulp.dest(TVUI_DEST));
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
gulp.task("copyResources", gulp.parallel(
|
|
60
|
+
'copyBuildTemplates',
|
|
61
|
+
'copyTvui'
|
|
62
|
+
));
|
|
63
|
+
|
|
64
|
+
gulp.task('build', gulp.series(
|
|
65
|
+
gulp.parallel('buildJs'),
|
|
66
|
+
gulp.parallel('buildDts'),
|
|
67
|
+
gulp.parallel('copyResources'),
|
|
68
|
+
))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drgame-cc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Cocos Creator 资源导出工具包 - 支持预制体、图片、音乐等资源导出",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,18 +8,7 @@
|
|
|
8
8
|
"drgame-cc": "./bin/drgame-cc.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"
|
|
12
|
-
"build:link": "npm run build && npm run link:local",
|
|
13
|
-
"build:test": "npm run build && npm run test:local",
|
|
14
|
-
"watch": "tsc --watch",
|
|
15
|
-
"lint": "eslint src --ext .ts",
|
|
16
|
-
"typecheck": "tsc --noEmit",
|
|
17
|
-
"clean": "rimraf dist",
|
|
18
|
-
"prepublishOnly": "npm run clean && npm run build",
|
|
19
|
-
"postinstall": "node scripts/postinstall.js",
|
|
20
|
-
"link:local": "npm link",
|
|
21
|
-
"test:local": "node scripts/test-local.js",
|
|
22
|
-
"test:export": "node test-export.js"
|
|
11
|
+
"postinstall": "node scripts/postinstall.js"
|
|
23
12
|
},
|
|
24
13
|
"keywords": [
|
|
25
14
|
"cocos-creator",
|
|
@@ -40,17 +29,22 @@
|
|
|
40
29
|
"typescript": "5.9.3"
|
|
41
30
|
},
|
|
42
31
|
"dependencies": {
|
|
43
|
-
"fs-extra": "^11.2.0"
|
|
32
|
+
"fs-extra": "^11.2.0",
|
|
33
|
+
"gulp": "^5.0.1",
|
|
34
|
+
"gulp-inject-string": "^1.1.2",
|
|
35
|
+
"gulp-minify": "^3.1.0",
|
|
36
|
+
"gulp-typescript": "^6.0.0-alpha.1"
|
|
44
37
|
},
|
|
45
38
|
"peerDependencies": {
|
|
46
39
|
"typescript": "^5.0.0"
|
|
47
40
|
},
|
|
48
41
|
"files": [
|
|
49
|
-
"
|
|
42
|
+
"tvui/**/*",
|
|
50
43
|
"build-templates/**/*",
|
|
51
|
-
"assets/**/*",
|
|
52
44
|
"scripts/postinstall.js",
|
|
53
45
|
"bin/**/*",
|
|
46
|
+
"gulpfile.js",
|
|
47
|
+
"tsconfig.json",
|
|
54
48
|
"README.md"
|
|
55
49
|
],
|
|
56
50
|
"engines": {
|
package/scripts/postinstall.js
CHANGED
|
@@ -1,152 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
* npm install 后自动执行的脚本
|
|
5
|
-
* 自动将 build-templates 拷贝到 Cocos Creator 项目根目录
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
const fs = require('fs');
|
|
3
|
+
const { execSync } = require('child_process');
|
|
9
4
|
const path = require('path');
|
|
10
5
|
|
|
11
|
-
|
|
12
|
-
const colors = {
|
|
13
|
-
reset: '\x1b[0m',
|
|
14
|
-
green: '\x1b[32m',
|
|
15
|
-
yellow: '\x1b[33m',
|
|
16
|
-
red: '\x1b[31m',
|
|
17
|
-
cyan: '\x1b[36m'
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
function log(message, color = 'reset') {
|
|
21
|
-
console.log(`${colors[color]}${message}${colors.reset}`);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* 递归拷贝目录
|
|
26
|
-
*/
|
|
27
|
-
function copyDir(src, dest) {
|
|
28
|
-
if (!fs.existsSync(src)) {
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
if (!fs.existsSync(dest)) {
|
|
33
|
-
fs.mkdirSync(dest, { recursive: true });
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
const entries = fs.readdirSync(src, { withFileTypes: true });
|
|
37
|
-
|
|
38
|
-
for (const entry of entries) {
|
|
39
|
-
const srcPath = path.join(src, entry.name);
|
|
40
|
-
const destPath = path.join(dest, entry.name);
|
|
41
|
-
|
|
42
|
-
if (entry.isDirectory()) {
|
|
43
|
-
copyDir(srcPath, destPath);
|
|
44
|
-
} else {
|
|
45
|
-
fs.copyFileSync(srcPath, destPath);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* 查找项目根目录(向上查找包含 assets 目录的目录)
|
|
54
|
-
*/
|
|
55
|
-
function findProjectRoot(startDir) {
|
|
56
|
-
let currentDir = startDir;
|
|
57
|
-
log(`开始从 ${startDir} 查找项目根目录...`, 'yellow');
|
|
58
|
-
|
|
59
|
-
while (currentDir !== path.dirname(currentDir)) {
|
|
60
|
-
log(` 检查: ${currentDir}`, 'reset');
|
|
61
|
-
|
|
62
|
-
// 检查是否存在 assets 目录(Cocos Creator 项目的标志)
|
|
63
|
-
const hasAssets = fs.existsSync(path.join(currentDir, 'assets'));
|
|
64
|
-
const hasAssetsUpper = fs.existsSync(path.join(currentDir, 'Assets'));
|
|
65
|
-
|
|
66
|
-
if (hasAssets || hasAssetsUpper) {
|
|
67
|
-
log(` ✓ 找到 assets 目录!`, 'green');
|
|
68
|
-
return currentDir;
|
|
69
|
-
}
|
|
70
|
-
currentDir = path.dirname(currentDir);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
log(` ✗ 未找到项目根目录`, 'red');
|
|
74
|
-
return null;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* 主函数
|
|
79
|
-
*/
|
|
80
|
-
function main() {
|
|
81
|
-
log('========================================', 'cyan');
|
|
82
|
-
log('🚀 drgame-cc 安装后自动配置', 'cyan');
|
|
83
|
-
log('========================================', 'cyan');
|
|
84
|
-
|
|
85
|
-
// 获取当前工作目录
|
|
86
|
-
const cwd = process.cwd();
|
|
87
|
-
log(`当前目录: ${cwd}`, 'yellow');
|
|
88
|
-
log(`脚本目录: ${__dirname}`, 'yellow');
|
|
89
|
-
log(`包目录: ${path.resolve(__dirname, '..')}`, 'yellow');
|
|
90
|
-
|
|
91
|
-
// 查找项目根目录
|
|
92
|
-
const projectRoot = findProjectRoot(cwd);
|
|
93
|
-
|
|
94
|
-
if (!projectRoot) {
|
|
95
|
-
log('⚠️ 未找到 Cocos Creator 项目根目录(未找到 assets 目录)', 'yellow');
|
|
96
|
-
log('跳过自动拷贝 build-templates', 'yellow');
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
log(`找到项目根目录: ${projectRoot}`, 'green');
|
|
101
|
-
|
|
102
|
-
// 获取包内的 build-templates 路径
|
|
103
|
-
// __dirname 是 scripts 目录,向上两级到包根目录
|
|
104
|
-
const packageDir = path.resolve(__dirname, '..');
|
|
105
|
-
const sourceDir = path.join(packageDir, 'build-templates');
|
|
106
|
-
const targetDir = path.join(projectRoot, 'build-templates');
|
|
107
|
-
|
|
108
|
-
log(`\n📁 源目录: ${sourceDir}`, 'yellow');
|
|
109
|
-
log(`📁 目标目录: ${targetDir}`, 'yellow');
|
|
110
|
-
|
|
111
|
-
// 检查源目录是否存在
|
|
112
|
-
if (!fs.existsSync(sourceDir)) {
|
|
113
|
-
log('\n⚠️ 包内没有 build-templates 目录,跳过拷贝', 'yellow');
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// 检查目标目录是否已存在
|
|
118
|
-
if (fs.existsSync(targetDir)) {
|
|
119
|
-
log('\n⚠️ 项目根目录已存在 build-templates,跳过拷贝(避免覆盖)', 'yellow');
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// 执行拷贝
|
|
124
|
-
log('\n📋 开始拷贝 build-templates...', 'cyan');
|
|
125
|
-
const success = copyDir(sourceDir, targetDir);
|
|
126
|
-
|
|
127
|
-
if (success) {
|
|
128
|
-
log('\n✅ build-templates 拷贝成功!', 'green');
|
|
129
|
-
log(`📂 位置: ${targetDir}`, 'green');
|
|
130
|
-
|
|
131
|
-
// 显示拷贝的内容
|
|
132
|
-
const items = fs.readdirSync(targetDir);
|
|
133
|
-
log(`\n📄 包含 ${items.length} 个文件/目录:`, 'cyan');
|
|
134
|
-
items.forEach(item => {
|
|
135
|
-
log(` - ${item}`, 'reset');
|
|
136
|
-
});
|
|
137
|
-
} else {
|
|
138
|
-
log('\n❌ 拷贝失败', 'red');
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
log('\n========================================', 'cyan');
|
|
142
|
-
log('🎉 安装完成!', 'green');
|
|
143
|
-
log('========================================', 'cyan');
|
|
144
|
-
}
|
|
6
|
+
console.log('📦 正在拷贝资源到 Cocos Creator 项目...');
|
|
145
7
|
|
|
146
|
-
// 执行主函数
|
|
147
8
|
try {
|
|
148
|
-
|
|
9
|
+
execSync('npx gulp copyResources', {
|
|
10
|
+
stdio: 'inherit',
|
|
11
|
+
cwd: path.join(__dirname, '..')
|
|
12
|
+
});
|
|
13
|
+
console.log('✅ 资源拷贝完成!');
|
|
149
14
|
} catch (error) {
|
|
150
|
-
console.error('❌
|
|
151
|
-
|
|
15
|
+
console.error('❌ 资源拷贝失败:', error.message);
|
|
16
|
+
process.exit(1);
|
|
152
17
|
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "amd",
|
|
4
|
+
"lib": [
|
|
5
|
+
"dom",
|
|
6
|
+
"es5",
|
|
7
|
+
"es2015.promise"
|
|
8
|
+
],
|
|
9
|
+
"target": "es5",
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"outFile": "./drgame.js",
|
|
12
|
+
"declaration": true,
|
|
13
|
+
"sourceMap": false,
|
|
14
|
+
"removeComments": true,
|
|
15
|
+
"experimentalDecorators": true,
|
|
16
|
+
"emitDecoratorMetadata": true
|
|
17
|
+
},
|
|
18
|
+
"include": [
|
|
19
|
+
"src",
|
|
20
|
+
"lib"
|
|
21
|
+
],
|
|
22
|
+
"exclude": [
|
|
23
|
+
"node_modules",
|
|
24
|
+
"test"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"designWidth": 1920,
|
|
3
|
+
"designHeight": 1080,
|
|
4
|
+
"cpId": "ppl",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"defaultScopeId": "page",
|
|
7
|
+
"enableRemoteInput": true,
|
|
8
|
+
"enableLifecycle": true,
|
|
9
|
+
"focus": {
|
|
10
|
+
"enabled": true,
|
|
11
|
+
"frameEnabled": false,
|
|
12
|
+
"framePadding": 10,
|
|
13
|
+
"frameColor": "#ffd451",
|
|
14
|
+
"frameOpacity": 230,
|
|
15
|
+
"lineWidth": 5,
|
|
16
|
+
"animationTime": 0.1,
|
|
17
|
+
"defaultIconKey": "default",
|
|
18
|
+
"iconPlacement": "bottomRight",
|
|
19
|
+
"iconOffsetX": -20,
|
|
20
|
+
"iconOffsetY": 20,
|
|
21
|
+
"zIndex": 800
|
|
22
|
+
},
|
|
23
|
+
"icons": {
|
|
24
|
+
"default": {
|
|
25
|
+
"path": "tvui/icons/pointer-yellow-60",
|
|
26
|
+
"width": 60,
|
|
27
|
+
"height": 60,
|
|
28
|
+
"offsetX": -20,
|
|
29
|
+
"offsetY": 20
|
|
30
|
+
},
|
|
31
|
+
"yellow": {
|
|
32
|
+
"path": "tvui/icons/pointer-yellow-60",
|
|
33
|
+
"width": 60,
|
|
34
|
+
"height": 60,
|
|
35
|
+
"offsetX": -20,
|
|
36
|
+
"offsetY": 20
|
|
37
|
+
},
|
|
38
|
+
"blue": {
|
|
39
|
+
"path": "tvui/icons/pointer-blue-60",
|
|
40
|
+
"width": 60,
|
|
41
|
+
"height": 60,
|
|
42
|
+
"offsetX": -20,
|
|
43
|
+
"offsetY": 20
|
|
44
|
+
},
|
|
45
|
+
"pink": {
|
|
46
|
+
"path": "tvui/icons/pointer-pink-60",
|
|
47
|
+
"width": 60,
|
|
48
|
+
"height": 60,
|
|
49
|
+
"offsetX": -20,
|
|
50
|
+
"offsetY": 20
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"adSdk": {
|
|
54
|
+
"platform": "xiaomi"
|
|
55
|
+
},
|
|
56
|
+
"ads": {
|
|
57
|
+
"reward": {
|
|
58
|
+
"enabled": true,
|
|
59
|
+
"mode": "reward",
|
|
60
|
+
"channels": [
|
|
61
|
+
{ "type": "aggregate", "priority": 1, "rewardType": "reward" },
|
|
62
|
+
{ "type": "mock", "priority": 100 }
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"popup": {
|
|
66
|
+
"enabled": true,
|
|
67
|
+
"mode": "popup",
|
|
68
|
+
"channels": [
|
|
69
|
+
{ "type": "aggregate", "priority": 1 },
|
|
70
|
+
{ "type": "mock", "priority": 100 }
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"game": {
|
|
74
|
+
"enabled": true,
|
|
75
|
+
"mode": "popup",
|
|
76
|
+
"channels": [
|
|
77
|
+
{ "type": "aggregate", "priority": 1 },
|
|
78
|
+
{ "type": "mock", "priority": 100 }
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
package/tvui/config.meta
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ver": "1.1.3",
|
|
3
|
+
"uuid": "5c434101-8fd1-424e-8c99-3be11e3332d6",
|
|
4
|
+
"importer": "folder",
|
|
5
|
+
"isBundle": false,
|
|
6
|
+
"bundleName": "",
|
|
7
|
+
"priority": 1,
|
|
8
|
+
"compressionType": {},
|
|
9
|
+
"optimizeHotUpdate": {},
|
|
10
|
+
"inlineSpriteFrames": {},
|
|
11
|
+
"isRemoteBundle": {},
|
|
12
|
+
"subMetas": {}
|
|
13
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ver": "2.3.7",
|
|
3
|
+
"uuid": "f14a7853-8615-429d-8982-9e7b557ecc60",
|
|
4
|
+
"importer": "texture",
|
|
5
|
+
"type": "sprite",
|
|
6
|
+
"wrapMode": "clamp",
|
|
7
|
+
"filterMode": "bilinear",
|
|
8
|
+
"premultiplyAlpha": false,
|
|
9
|
+
"genMipmaps": false,
|
|
10
|
+
"packable": true,
|
|
11
|
+
"width": 60,
|
|
12
|
+
"height": 60,
|
|
13
|
+
"platformSettings": {},
|
|
14
|
+
"subMetas": {
|
|
15
|
+
"pointer-blue-60": {
|
|
16
|
+
"ver": "1.0.6",
|
|
17
|
+
"uuid": "ceed697a-93d1-4f92-85cb-dafece078e71",
|
|
18
|
+
"importer": "sprite-frame",
|
|
19
|
+
"rawTextureUuid": "f14a7853-8615-429d-8982-9e7b557ecc60",
|
|
20
|
+
"trimType": "auto",
|
|
21
|
+
"trimThreshold": 1,
|
|
22
|
+
"rotated": false,
|
|
23
|
+
"offsetX": 0,
|
|
24
|
+
"offsetY": 0,
|
|
25
|
+
"trimX": 8,
|
|
26
|
+
"trimY": 3,
|
|
27
|
+
"width": 44,
|
|
28
|
+
"height": 54,
|
|
29
|
+
"rawWidth": 60,
|
|
30
|
+
"rawHeight": 60,
|
|
31
|
+
"borderTop": 0,
|
|
32
|
+
"borderBottom": 0,
|
|
33
|
+
"borderLeft": 0,
|
|
34
|
+
"borderRight": 0,
|
|
35
|
+
"subMetas": {}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ver": "2.3.7",
|
|
3
|
+
"uuid": "4a077d85-baac-4852-8234-630d97b13963",
|
|
4
|
+
"importer": "texture",
|
|
5
|
+
"type": "sprite",
|
|
6
|
+
"wrapMode": "clamp",
|
|
7
|
+
"filterMode": "bilinear",
|
|
8
|
+
"premultiplyAlpha": false,
|
|
9
|
+
"genMipmaps": false,
|
|
10
|
+
"packable": true,
|
|
11
|
+
"width": 60,
|
|
12
|
+
"height": 60,
|
|
13
|
+
"platformSettings": {},
|
|
14
|
+
"subMetas": {
|
|
15
|
+
"pointer-pink-60": {
|
|
16
|
+
"ver": "1.0.6",
|
|
17
|
+
"uuid": "4b20f7fd-60e5-4afb-b8f8-0853b10fb2af",
|
|
18
|
+
"importer": "sprite-frame",
|
|
19
|
+
"rawTextureUuid": "4a077d85-baac-4852-8234-630d97b13963",
|
|
20
|
+
"trimType": "auto",
|
|
21
|
+
"trimThreshold": 1,
|
|
22
|
+
"rotated": false,
|
|
23
|
+
"offsetX": 0,
|
|
24
|
+
"offsetY": 0,
|
|
25
|
+
"trimX": 8,
|
|
26
|
+
"trimY": 3,
|
|
27
|
+
"width": 44,
|
|
28
|
+
"height": 54,
|
|
29
|
+
"rawWidth": 60,
|
|
30
|
+
"rawHeight": 60,
|
|
31
|
+
"borderTop": 0,
|
|
32
|
+
"borderBottom": 0,
|
|
33
|
+
"borderLeft": 0,
|
|
34
|
+
"borderRight": 0,
|
|
35
|
+
"subMetas": {}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ver": "2.3.7",
|
|
3
|
+
"uuid": "510c2043-d688-4cce-a04d-63d8d1e3a338",
|
|
4
|
+
"importer": "texture",
|
|
5
|
+
"type": "sprite",
|
|
6
|
+
"wrapMode": "clamp",
|
|
7
|
+
"filterMode": "bilinear",
|
|
8
|
+
"premultiplyAlpha": false,
|
|
9
|
+
"genMipmaps": false,
|
|
10
|
+
"packable": true,
|
|
11
|
+
"width": 60,
|
|
12
|
+
"height": 60,
|
|
13
|
+
"platformSettings": {},
|
|
14
|
+
"subMetas": {
|
|
15
|
+
"pointer-yellow-60": {
|
|
16
|
+
"ver": "1.0.6",
|
|
17
|
+
"uuid": "71c3f6b5-048f-4e46-a1c3-8ae473a873db",
|
|
18
|
+
"importer": "sprite-frame",
|
|
19
|
+
"rawTextureUuid": "510c2043-d688-4cce-a04d-63d8d1e3a338",
|
|
20
|
+
"trimType": "auto",
|
|
21
|
+
"trimThreshold": 1,
|
|
22
|
+
"rotated": false,
|
|
23
|
+
"offsetX": 0,
|
|
24
|
+
"offsetY": 0,
|
|
25
|
+
"trimX": 8,
|
|
26
|
+
"trimY": 3,
|
|
27
|
+
"width": 44,
|
|
28
|
+
"height": 54,
|
|
29
|
+
"rawWidth": 60,
|
|
30
|
+
"rawHeight": 60,
|
|
31
|
+
"borderTop": 0,
|
|
32
|
+
"borderBottom": 0,
|
|
33
|
+
"borderLeft": 0,
|
|
34
|
+
"borderRight": 0,
|
|
35
|
+
"subMetas": {}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
package/tvui/icons.meta
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ver": "1.1.3",
|
|
3
|
+
"uuid": "244dac1c-c80f-4e6c-8a41-64ff6e5162f1",
|
|
4
|
+
"importer": "folder",
|
|
5
|
+
"isBundle": false,
|
|
6
|
+
"bundleName": "",
|
|
7
|
+
"priority": 1,
|
|
8
|
+
"compressionType": {},
|
|
9
|
+
"optimizeHotUpdate": {},
|
|
10
|
+
"inlineSpriteFrames": {},
|
|
11
|
+
"isRemoteBundle": {},
|
|
12
|
+
"subMetas": {}
|
|
13
|
+
}
|