mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
Compare commits
429
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
faad8c4d63 | ||
|
|
59ee409e6b | ||
|
|
49d50b863b | ||
|
|
b743505d54 | ||
|
|
ba018bb752 | ||
|
|
3c21e1cfcc | ||
|
|
ef7d798cc6 | ||
|
|
e757685a90 | ||
|
|
3886661036 | ||
|
|
fc1bde9da9 | ||
|
|
f42d04c2bb | ||
|
|
729fa33101 | ||
|
|
e309660c5c | ||
|
|
8c0d95a071 | ||
|
|
59c8223c37 | ||
|
|
cfed96a21f | ||
|
|
6dda485bbe | ||
|
|
39b7fb494a | ||
|
|
7794ad055c | ||
|
|
0d70e8679d | ||
|
|
c946f8956b | ||
|
|
78c3dcfe8d | ||
|
|
704108b63f | ||
|
|
0697a16e35 | ||
|
|
ff950c098e | ||
|
|
054143f3ac | ||
|
|
edd469dd9a | ||
|
|
bab09ca07c | ||
|
|
ec651d0800 | ||
|
|
72f4641834 | ||
|
|
2a8b8f64c8 | ||
|
|
80e6ff2eb4 | ||
|
|
b812eb2abe | ||
|
|
c1f3fcb009 | ||
|
|
af53118087 | ||
|
|
efcb28734d | ||
|
|
b1d9e3b0ac | ||
|
|
613098c3a3 | ||
|
|
51862f6398 | ||
|
|
7fe163c5ff | ||
|
|
42b616a473 | ||
|
|
44970173ee | ||
|
|
5ba326f2e4 | ||
|
|
59a4761681 | ||
|
|
7cc8ba6aab | ||
|
|
2bb0d5e2f3 | ||
|
|
5a63a2b27a | ||
|
|
980c349a81 | ||
|
|
ff3e49a4ad | ||
|
|
adcf01833b | ||
|
|
1d9072977a | ||
|
|
264db76be5 | ||
|
|
927d62ff19 | ||
|
|
85d2e15225 | ||
|
|
b016e38b9d | ||
|
|
9ca97a2977 | ||
|
|
487fc773fe | ||
|
|
8e3406abb3 | ||
|
|
991bb6823b | ||
|
|
fb814e421d | ||
|
|
30686527cc | ||
|
|
6363a80596 | ||
|
|
8433938a0e | ||
|
|
ad844450a2 | ||
|
|
6158aa2b81 | ||
|
|
714321fc71 | ||
|
|
abb147953f | ||
|
|
1ca0ec59dc | ||
|
|
a967d353e7 | ||
|
|
1e0725d767 | ||
|
|
3669e1992b | ||
|
|
9d93c1f540 | ||
|
|
95fc8445df | ||
|
|
66324a805b | ||
|
|
3ca627c8da | ||
|
|
634ca8ff27 | ||
|
|
d5e6f2d3e9 | ||
|
|
5c52760ce7 | ||
|
|
78bb782909 | ||
|
|
123583efd2 | ||
|
|
bc6ba3d486 | ||
|
|
7abe307bd1 | ||
|
|
b8bb1e018f | ||
|
|
18e3fb68ad | ||
|
|
f3eba7070e | ||
|
|
1ff06369e8 | ||
|
|
b91acc8e14 | ||
|
|
7a0836269f | ||
|
|
be36de9858 | ||
|
|
be0b9758cb | ||
|
|
458879180a | ||
|
|
d334cf9918 | ||
|
|
bb8ea6584a | ||
|
|
60f381b565 | ||
|
|
0fe5074585 | ||
|
|
f7c9d805bb | ||
|
|
25c8dd3d83 | ||
|
|
ae08e1ff92 | ||
|
|
9caf32c80b | ||
|
|
3dce798326 | ||
|
|
de98baab9b | ||
|
|
e36ced68aa | ||
|
|
778c33a246 | ||
|
|
bdcb7fa784 | ||
|
|
8ef806cca0 | ||
|
|
e1214f3143 | ||
|
|
e923a46b09 | ||
|
|
9f4c731069 | ||
|
|
3792944d10 | ||
|
|
3751ea11a4 | ||
|
|
01913ed717 | ||
|
|
09cd24ddaf | ||
|
|
c587ffe433 | ||
|
|
a18eae05ec | ||
|
|
3a6016f94e | ||
|
|
866e6325f2 | ||
|
|
f114592ddc | ||
|
|
23384143d7 | ||
|
|
608b6caa98 | ||
|
|
b41c94e232 | ||
|
|
730fb70aab | ||
|
|
1a03b20e0e | ||
|
|
b380075ee3 | ||
|
|
8368b1502e | ||
|
|
8b265c5459 | ||
|
|
ed9f744764 | ||
|
|
cd23875f3f | ||
|
|
4e85f6ef9f | ||
|
|
77cc03d167 | ||
|
|
01a586e028 | ||
|
|
f3da6151eb | ||
|
|
d8b2da7b7d | ||
|
|
72b14f8069 | ||
|
|
a4f6c4ff9c | ||
|
|
5fb27d643e | ||
|
|
2077272d1c | ||
|
|
96732877a6 | ||
|
|
1162899f69 | ||
|
|
ed8ff6cdb3 | ||
|
|
20d094f064 | ||
|
|
9e492a6ba1 | ||
|
|
b9db26c8f1 | ||
|
|
f550398fb7 | ||
|
|
1337a185bf | ||
|
|
72969ebb42 | ||
|
|
5b90410d7d | ||
|
|
7f5e57195e | ||
|
|
4e50d553c5 | ||
|
|
9d7876480e | ||
|
|
a20430358c | ||
|
|
02a7e94001 | ||
|
|
e725e96bcd | ||
|
|
cce9ff7913 | ||
|
|
f36fed85fa | ||
|
|
95778b055d | ||
|
|
2aa2229bcf | ||
|
|
0185eba411 | ||
|
|
df235e2838 | ||
|
|
3826e1c238 | ||
|
|
554446c4c1 | ||
|
|
ba175a9f0e | ||
|
|
7e1f99efd1 | ||
|
|
61a0c7bdad | ||
|
|
94bc9d63ba | ||
|
|
8a2c31cb84 | ||
|
|
3d95b0a60c | ||
|
|
e515624139 | ||
|
|
ca27dea76f | ||
|
|
78f0a1a8f7 | ||
|
|
19b1b56a29 | ||
|
|
662bf15548 | ||
|
|
31dcaf27ae | ||
|
|
252089fd48 | ||
|
|
192140b5e2 | ||
|
|
da13789bd9 | ||
|
|
2179efe8bd | ||
|
|
5628415721 | ||
|
|
68109dbeb2 | ||
|
|
c6aa72b0f4 | ||
|
|
4506397e73 | ||
|
|
89aba474ae | ||
|
|
94a3bc6466 | ||
|
|
8369ce4457 | ||
|
|
3ca369173a | ||
|
|
27e92ce148 | ||
|
|
5eb5574ff6 | ||
|
|
5e73768756 | ||
|
|
1c40f78179 | ||
|
|
3506623d43 | ||
|
|
6dcfa9acc0 | ||
|
|
f0efdfa67c | ||
|
|
ef2710f028 | ||
|
|
bd39ad5474 | ||
|
|
1db9c09281 | ||
|
|
6949a02355 | ||
|
|
4e25c7f593 | ||
|
|
dbc4f3747d | ||
|
|
780a2087e6 | ||
|
|
7f8ff06b6e | ||
|
|
cb9cb24d77 | ||
|
|
feaac946e3 | ||
|
|
724a6f767e | ||
|
|
ba630a21fa | ||
|
|
b1e199e0fb | ||
|
|
f3c1d30215 | ||
|
|
25151a8479 | ||
|
|
48a6ef0217 | ||
|
|
0adcc69b9e | ||
|
|
9cb651ffd0 | ||
|
|
dc3cfadd44 | ||
|
|
dc96d1a257 | ||
|
|
2b98a43ca2 | ||
|
|
1c12b99056 | ||
|
|
515f99d391 | ||
|
|
5073f9ac49 | ||
|
|
ee2128d5ca | ||
|
|
d7c0a05165 | ||
|
|
0b27516bff | ||
|
|
b0eca97589 | ||
|
|
33f8f40399 | ||
|
|
ab24b6ab14 | ||
|
|
55fc5504a5 | ||
|
|
a223a0ea1d | ||
|
|
d328f26c1f | ||
|
|
0419a4bbd7 | ||
|
|
88a5db3420 | ||
|
|
753c8baec5 | ||
|
|
417a6b22c5 | ||
|
|
ebcc8d8db2 | ||
|
|
d894cc81a4 | ||
|
|
dfdc33c222 | ||
|
|
478b8f7f7a | ||
|
|
787a34ab26 | ||
|
|
eb209ad1a8 | ||
|
|
5bd8914546 | ||
|
|
4543719970 | ||
|
|
54cb77247e | ||
|
|
c5caa3f90f | ||
|
|
c3893fbf47 | ||
|
|
7b80432fe2 | ||
|
|
c5e5301193 | ||
|
|
75b5c4bdce | ||
|
|
0ea812e321 | ||
|
|
c5dc4d7335 | ||
|
|
34370ec2e8 | ||
|
|
bd892fb3fb | ||
|
|
39c27b04d7 | ||
|
|
b1afd47878 | ||
|
|
9286d3160a | ||
|
|
54fb05093c | ||
|
|
f872dd7c3d | ||
|
|
9ffebd2b71 | ||
|
|
4c6c8752d9 | ||
|
|
db11847130 | ||
|
|
d88f737375 | ||
|
|
d1a7de0229 | ||
|
|
78e9692abc | ||
|
|
836463c795 | ||
|
|
630166880f | ||
|
|
421ee12a82 | ||
|
|
4dd3992a32 | ||
|
|
5fab0d867e | ||
|
|
a1801f59f5 | ||
|
|
3f467944ce | ||
|
|
b1add2a940 | ||
|
|
3e8f350740 | ||
|
|
790f72d836 | ||
|
|
4fcb2b74da | ||
|
|
e0d1cf0f80 | ||
|
|
bdb0476417 | ||
|
|
4d23ec3c47 | ||
|
|
4f6f411816 | ||
|
|
cf015037bf | ||
|
|
259768e954 | ||
|
|
57a2189812 | ||
|
|
00f7b223a0 | ||
|
|
e4791b460e | ||
|
|
60458949df | ||
|
|
a8bfe5917b | ||
|
|
f90463466d | ||
|
|
e6a9cfb28a | ||
|
|
7f22dfe51b | ||
|
|
ef8e891ab0 | ||
|
|
ee6b6ec2af | ||
|
|
1406fc857e | ||
|
|
09300bb28a | ||
|
|
c4ac634589 | ||
|
|
3a101d6e0a | ||
|
|
4a6d68ea59 | ||
|
|
a6eabdb8d8 | ||
|
|
43133b2ebd | ||
|
|
8d21346cd7 | ||
|
|
e0267dce3b | ||
|
|
263d9fcd8c | ||
|
|
be5aebde3b | ||
|
|
142593a9f2 | ||
|
|
63e8bf3291 | ||
|
|
0268e131f1 | ||
|
|
a3277187cf | ||
|
|
de45ada269 | ||
|
|
5e42873ca2 | ||
|
|
6a0648e3de | ||
|
|
9a114775dd | ||
|
|
45f5aefbaa | ||
|
|
f54efce2eb | ||
|
|
758e37cfab | ||
|
|
a9f9b5efdd | ||
|
|
f7a3a77130 | ||
|
|
97bc1a9c80 | ||
|
|
45bbca6c78 | ||
|
|
cfcf7fd493 | ||
|
|
188056e260 | ||
|
|
b55eca02bc | ||
|
|
4ff25872a0 | ||
|
|
9c6a742db6 | ||
|
|
a9b1fab282 | ||
|
|
fd3bf05aee | ||
|
|
11480c0fda | ||
|
|
1404ad41e6 | ||
|
|
86b82feecc | ||
|
|
488797d118 | ||
|
|
041f3ba2e9 | ||
|
|
cb0982d69c | ||
|
|
9024de3920 | ||
|
|
fbcba999aa | ||
|
|
0247d19677 | ||
|
|
31416dd1df | ||
|
|
f660dacfa6 | ||
|
|
a7648df691 | ||
|
|
273fd398ff | ||
|
|
5d7595970e | ||
|
|
57d1da275f | ||
|
|
07bf42ee04 | ||
|
|
2fe8e61032 | ||
|
|
10d9cc9eca | ||
|
|
86a698d66d | ||
|
|
efba3b899b | ||
|
|
c369b1cf14 | ||
|
|
8e7f6bdbe0 | ||
|
|
d37348e503 | ||
|
|
79435a7edb | ||
|
|
68026452c5 | ||
|
|
bd3243213c | ||
|
|
bae12e066d | ||
|
|
c57b4aaf78 | ||
|
|
e5449c0f06 | ||
|
|
54344ead7f | ||
|
|
f26636ca8c | ||
|
|
7ea58826cf | ||
|
|
c957519b50 | ||
|
|
95208f5328 | ||
|
|
74a1cd88e2 | ||
|
|
ddc1e7565b | ||
|
|
255103b36a | ||
|
|
6155eca8ce | ||
|
|
a0d6b9c725 | ||
|
|
5276462b8e | ||
|
|
5081dfd0d1 | ||
|
|
c2c69497d2 | ||
|
|
d05637763b | ||
|
|
3e8c0b2979 | ||
|
|
f1bd8a57db | ||
|
|
94c8e824d2 | ||
|
|
b49a24caf7 | ||
|
|
fba2ff7481 | ||
|
|
f621ab34b4 | ||
|
|
ca4504f9f6 | ||
|
|
a8dfa06970 | ||
|
|
6c7eecd150 | ||
|
|
a34ad95c0c | ||
|
|
7574df5262 | ||
|
|
b778ac551f | ||
|
|
0458896a92 | ||
|
|
d7302be6e3 | ||
|
|
dce0ca95b8 | ||
|
|
80c6be9549 | ||
|
|
e50460cb43 | ||
|
|
f567e548ba | ||
|
|
547a60fe9d | ||
|
|
1a6409b0ce | ||
|
|
16c954739b | ||
|
|
afdb08bf3f | ||
|
|
7f6f35b63b | ||
|
|
ad3a4a3f5c | ||
|
|
91b8454c0b | ||
|
|
de4c4c53a5 | ||
|
|
6b19c8bf23 | ||
|
|
8cb3a6ca47 | ||
|
|
3bfc11088e | ||
|
|
ca041945b5 | ||
|
|
fd1de1af0f | ||
|
|
6c6f11fb84 | ||
|
|
6d7f2e3cc8 | ||
|
|
7abe277d79 | ||
|
|
1420351153 | ||
|
|
dc200f4bb3 | ||
|
|
12cfa042c6 | ||
|
|
7b22af124b | ||
|
|
07e6952d17 | ||
|
|
91fe12caae | ||
|
|
0f8d3caae6 | ||
|
|
b065483cab | ||
|
|
ea5cede832 | ||
|
|
8f540025b0 | ||
|
|
d52ef620a7 | ||
|
|
07039886ae | ||
|
|
401185a2cc | ||
|
|
9439c01107 | ||
|
|
bc7a68b979 | ||
|
|
2d0af700a2 | ||
|
|
373810692d | ||
|
|
ff13300bcd | ||
|
|
6590e58f0a | ||
|
|
b2517803b2 | ||
|
|
46efff5a02 | ||
|
|
941f1924ec | ||
|
|
0310a412f1 | ||
|
|
2ec6399303 | ||
|
|
1a1c177969 | ||
|
|
a2254ea709 | ||
|
|
c237ce7f0a | ||
|
|
b9445499e2 | ||
|
|
3350680b5c | ||
|
|
ee2d8bef6e | ||
|
|
d7ea45b595 | ||
|
|
22f24f499c | ||
|
|
23c1921c2c | ||
|
|
0ba0a01908 | ||
|
|
7acf5061e3 |
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# * text=auto
|
||||
|
||||
# Unity files
|
||||
*.anim text eol=lf
|
||||
*.asmdef text eol=lf
|
||||
*.asset text eol=lf
|
||||
*.controller text eol=lf
|
||||
*.mat text eol=lf
|
||||
*.meta text eol=lf
|
||||
*.overrideController text eol=lf
|
||||
*.prefab text eol=lf
|
||||
*.preset text eol=lf
|
||||
*.spriteatlas text eol=lf
|
||||
*.unity text eol=lf
|
||||
*.mixer text eol=lf
|
||||
*.renderTexture text eol=lf
|
||||
*.json text eol=lf
|
||||
*.xml text eol=lf
|
||||
|
||||
# Source files
|
||||
*.sln text eol=crlf
|
||||
*.csproj text eol=crlf
|
||||
*.cs text eol=crlf
|
||||
*.shader text eol=crlf
|
||||
@@ -0,0 +1,20 @@
|
||||
# Continuous integration
|
||||
|
||||
GitHub Actions builds PAL3 and PAL3A with the Unity version in
|
||||
`ProjectSettings/ProjectVersion.txt`. Each variant covers Android, iOS,
|
||||
macOS, Linux, and 32-bit/64-bit Windows. The workflows run on pushes and pull
|
||||
requests, and successful desktop/Android builds upload artifacts.
|
||||
|
||||
Codacy is not part of this repository's CI. Its repository webhook is disabled;
|
||||
there is no Codacy workflow or Codacy-required branch protection check. Re-enabling
|
||||
that external integration would resume its checks independently of these workflows.
|
||||
|
||||
Keep the committed project configured for PAL3. PAL3A workflows switch their own
|
||||
checkout before building. Public builds reject imported private VFX and legacy Toon assets;
|
||||
do not add them or original game data to CI inputs.
|
||||
|
||||
When investigating a failure, inspect the failed job's Unity/build logs first.
|
||||
Retry an isolated runner or network failure after checking the log; fix reproducible
|
||||
source/build problems without bypassing the build checks. A successful CI build
|
||||
checks compilation and packaging, and does not replace device or game-data runtime
|
||||
validation.
|
||||
@@ -0,0 +1,9 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
# default location of `.github/workflows`
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
commit-message:
|
||||
prefix: 'action-deps: '
|
||||
@@ -0,0 +1,46 @@
|
||||
name: Builds - PAL3 - Mono - Android
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3_mono_android:
|
||||
name: Build PAL3 for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- Android # Build an Android .apk standalone app.
|
||||
steps:
|
||||
- uses: jlumbroso/free-disk-space@main
|
||||
with:
|
||||
tool-cache: false
|
||||
android: true
|
||||
dotnet: true
|
||||
haskell: true
|
||||
large-packages: true
|
||||
docker-images: true
|
||||
swap-storage: true
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3
|
||||
versioning: Semantic
|
||||
- uses: actions/upload-artifact@v7.0.1
|
||||
with:
|
||||
name: PAL3-Mono-${{ matrix.targetPlatform }}
|
||||
path: build/${{ matrix.targetPlatform }}
|
||||
retention-days: 14
|
||||
@@ -0,0 +1,33 @@
|
||||
name: Builds - PAL3 - Mono - iOS
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3_mono_ios:
|
||||
name: Build PAL3 for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- iOS # Build an iOS player.
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3
|
||||
versioning: Semantic
|
||||
# do not upload artifacts for iOS builds
|
||||
@@ -0,0 +1,37 @@
|
||||
name: Builds - PAL3 - Mono - Linux
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3_mono_linux:
|
||||
name: Build PAL3 for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- StandaloneLinux64 # Build a Linux 64-bit standalone.
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3
|
||||
versioning: Semantic
|
||||
- uses: actions/upload-artifact@v7.0.1
|
||||
with:
|
||||
name: PAL3-Mono-${{ matrix.targetPlatform }}
|
||||
path: build/${{ matrix.targetPlatform }}
|
||||
retention-days: 14
|
||||
@@ -0,0 +1,37 @@
|
||||
name: Builds - PAL3 - Mono - MacOS
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3_mono_macos:
|
||||
name: Build PAL3 for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3
|
||||
versioning: Semantic
|
||||
- uses: actions/upload-artifact@v7.0.1
|
||||
with:
|
||||
name: PAL3-Mono-${{ matrix.targetPlatform }}
|
||||
path: build/${{ matrix.targetPlatform }}
|
||||
retention-days: 14
|
||||
@@ -0,0 +1,38 @@
|
||||
name: Builds - PAL3 - Mono - Windows
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3_mono_windows:
|
||||
name: Build PAL3 for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- StandaloneWindows # Build a Windows standalone.
|
||||
- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3
|
||||
versioning: Semantic
|
||||
- uses: actions/upload-artifact@v7.0.1
|
||||
with:
|
||||
name: PAL3-Mono-${{ matrix.targetPlatform }}
|
||||
path: build/${{ matrix.targetPlatform }}
|
||||
retention-days: 14
|
||||
@@ -0,0 +1,59 @@
|
||||
name: Builds - PAL3A - Mono - Android
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3a_mono_android:
|
||||
name: Build PAL3A for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- Android # Build an Android .apk standalone app.
|
||||
steps:
|
||||
- uses: jlumbroso/free-disk-space@main
|
||||
with:
|
||||
tool-cache: false
|
||||
android: true
|
||||
dotnet: true
|
||||
haskell: true
|
||||
large-packages: true
|
||||
docker-images: true
|
||||
swap-storage: true
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- name: Switch define symbol from PAL3 to PAL3A
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "PAL3"
|
||||
replace: "PAL3A"
|
||||
include: "**ProjectSettings.asset"
|
||||
- name: Replace PAL3 game icon with PAL3A one
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "6b32649dccc45df4ebe8e3f8eccee249"
|
||||
replace: "d03d417e5660d5849939c8fe43732dbd"
|
||||
include: "**ProjectSettings.asset"
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
allowDirtyBuild: true
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3A
|
||||
versioning: Semantic
|
||||
- uses: actions/upload-artifact@v7.0.1
|
||||
with:
|
||||
name: PAL3A-Mono-${{ matrix.targetPlatform }}
|
||||
path: build/${{ matrix.targetPlatform }}
|
||||
retention-days: 14
|
||||
@@ -0,0 +1,46 @@
|
||||
name: Builds - PAL3A - Mono - iOS
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3a_mono_ios:
|
||||
name: Build PAL3A for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- iOS # Build an iOS player.
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- name: Switch define symbol from PAL3 to PAL3A
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "PAL3"
|
||||
replace: "PAL3A"
|
||||
include: "**ProjectSettings.asset"
|
||||
- name: Replace PAL3 game icon with PAL3A one
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "6b32649dccc45df4ebe8e3f8eccee249"
|
||||
replace: "d03d417e5660d5849939c8fe43732dbd"
|
||||
include: "**ProjectSettings.asset"
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
allowDirtyBuild: true
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3A
|
||||
versioning: Semantic
|
||||
# do not upload artifacts for iOS builds
|
||||
@@ -0,0 +1,50 @@
|
||||
name: Builds - PAL3A - Mono - Linux
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3a_mono_linux:
|
||||
name: Build PAL3A for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- StandaloneLinux64 # Build a Linux 64-bit standalone.
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- name: Switch define symbol from PAL3 to PAL3A
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "PAL3"
|
||||
replace: "PAL3A"
|
||||
include: "**ProjectSettings.asset"
|
||||
- name: Replace PAL3 game icon with PAL3A one
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "6b32649dccc45df4ebe8e3f8eccee249"
|
||||
replace: "d03d417e5660d5849939c8fe43732dbd"
|
||||
include: "**ProjectSettings.asset"
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
allowDirtyBuild: true
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3A
|
||||
versioning: Semantic
|
||||
- uses: actions/upload-artifact@v7.0.1
|
||||
with:
|
||||
name: PAL3A-Mono-${{ matrix.targetPlatform }}
|
||||
path: build/${{ matrix.targetPlatform }}
|
||||
retention-days: 14
|
||||
@@ -0,0 +1,50 @@
|
||||
name: Builds - PAL3A - Mono - MacOS
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3a_mono_macos:
|
||||
name: Build PAL3A for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- name: Switch define symbol from PAL3 to PAL3A
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "PAL3"
|
||||
replace: "PAL3A"
|
||||
include: "**ProjectSettings.asset"
|
||||
- name: Replace PAL3 game icon with PAL3A one
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "6b32649dccc45df4ebe8e3f8eccee249"
|
||||
replace: "d03d417e5660d5849939c8fe43732dbd"
|
||||
include: "**ProjectSettings.asset"
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
allowDirtyBuild: true
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3A
|
||||
versioning: Semantic
|
||||
- uses: actions/upload-artifact@v7.0.1
|
||||
with:
|
||||
name: PAL3A-Mono-${{ matrix.targetPlatform }}
|
||||
path: build/${{ matrix.targetPlatform }}
|
||||
retention-days: 14
|
||||
@@ -0,0 +1,51 @@
|
||||
name: Builds - PAL3A - Mono - Windows
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_pal3a_mono_windows:
|
||||
name: Build PAL3A for ${{ matrix.targetPlatform }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- StandaloneWindows # Build a Windows standalone.
|
||||
- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
- name: Switch define symbol from PAL3 to PAL3A
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "PAL3"
|
||||
replace: "PAL3A"
|
||||
include: "**ProjectSettings.asset"
|
||||
- name: Replace PAL3 game icon with PAL3A one
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "6b32649dccc45df4ebe8e3f8eccee249"
|
||||
replace: "d03d417e5660d5849939c8fe43732dbd"
|
||||
include: "**ProjectSettings.asset"
|
||||
- uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
restore-keys: Library-
|
||||
- uses: game-ci/unity-builder@v5
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
allowDirtyBuild: true
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
buildName: PAL3A
|
||||
versioning: Semantic
|
||||
- uses: actions/upload-artifact@v7.0.1
|
||||
with:
|
||||
name: PAL3A-Mono-${{ matrix.targetPlatform }}
|
||||
path: build/${{ matrix.targetPlatform }}
|
||||
retention-days: 14
|
||||
+11
-1
@@ -28,6 +28,9 @@
|
||||
# Visual Studio cache directory
|
||||
.vs/
|
||||
|
||||
# Unity-generated Visual Studio Code settings
|
||||
/.vscode/
|
||||
|
||||
# Gradle cache directory
|
||||
.gradle/
|
||||
|
||||
@@ -36,6 +39,7 @@ ExportedObj/
|
||||
.consulo/
|
||||
/*.csproj
|
||||
/*.sln
|
||||
/*.slnx
|
||||
*.unityproj
|
||||
*.suo
|
||||
*.tmp
|
||||
@@ -67,6 +71,9 @@ crashlytics-build.properties
|
||||
# MacOS generated files
|
||||
.DS_Store
|
||||
|
||||
# Unity CMake tmp files
|
||||
.utmp
|
||||
|
||||
# Unity StreamingAssets folder
|
||||
/Assets/StreamingAssets
|
||||
|
||||
@@ -83,4 +90,7 @@ crashlytics-build.properties
|
||||
/Assets/Resources/Prefabs/VFX/PAL3A/*.meta
|
||||
|
||||
# Materials that are using 3rd party assets
|
||||
/Assets/Resources/Materials/
|
||||
/Assets/Resources/Materials/
|
||||
|
||||
# VS Conde config file
|
||||
.vsconfig
|
||||
@@ -1,5 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 017f90526f3834e4ca575928f2369942
|
||||
labels:
|
||||
- NuGetForUnity
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
@@ -1,98 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9ea59359fa70a004da570d3fae618d57
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 11
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bd9629b50a962774fa83514636685099
|
||||
guid: d25342fa4b1c06a4fb5b9275bf3f6350
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
Binary file not shown.
File renamed without changes.
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c55e208d745dcdd4f869b845af4cfab3
|
||||
guid: 2202405c70c652942ae8270006c01f9d
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata minClientVersion="2.12">
|
||||
<id>Newtonsoft.Json</id>
|
||||
<version>13.0.3</version>
|
||||
<title>Json.NET</title>
|
||||
<authors>James Newton-King</authors>
|
||||
<license type="expression">MIT</license>
|
||||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
|
||||
<icon>packageIcon.png</icon>
|
||||
<readme>README.md</readme>
|
||||
<projectUrl>https://www.newtonsoft.com/json</projectUrl>
|
||||
<iconUrl>https://www.newtonsoft.com/content/images/nugeticon.png</iconUrl>
|
||||
<description>Json.NET is a popular high-performance JSON framework for .NET</description>
|
||||
<copyright>Copyright © James Newton-King 2008</copyright>
|
||||
<tags>json</tags>
|
||||
<repository type="git" url="https://github.com/JamesNK/Newtonsoft.Json" commit="0a2e291c0d9c0c7675d445703e51750363a549ef" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETFramework2.0" />
|
||||
<group targetFramework=".NETFramework3.5" />
|
||||
<group targetFramework=".NETFramework4.0" />
|
||||
<group targetFramework=".NETFramework4.5" />
|
||||
<group targetFramework=".NETStandard1.0">
|
||||
<dependency id="Microsoft.CSharp" version="4.3.0" exclude="Build,Analyzers" />
|
||||
<dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
|
||||
<dependency id="System.ComponentModel.TypeConverter" version="4.3.0" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework=".NETStandard1.3">
|
||||
<dependency id="Microsoft.CSharp" version="4.3.0" exclude="Build,Analyzers" />
|
||||
<dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
|
||||
<dependency id="System.ComponentModel.TypeConverter" version="4.3.0" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Runtime.Serialization.Formatters" version="4.3.0" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Xml.XmlDocument" version="4.3.0" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net6.0" />
|
||||
<group targetFramework=".NETStandard2.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 284597a55e57c044bb7e9b4d3071e02d
|
||||
guid: c94022471fa0dc1458e85b14d0c0dbd8
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
@@ -0,0 +1,71 @@
|
||||
#  Json.NET
|
||||
|
||||
[](https://www.nuget.org/packages/Newtonsoft.Json/)
|
||||
[](https://dev.azure.com/jamesnk/Public/_build/latest?definitionId=8)
|
||||
|
||||
Json.NET is a popular high-performance JSON framework for .NET
|
||||
|
||||
## Serialize JSON
|
||||
|
||||
```csharp
|
||||
Product product = new Product();
|
||||
product.Name = "Apple";
|
||||
product.Expiry = new DateTime(2008, 12, 28);
|
||||
product.Sizes = new string[] { "Small" };
|
||||
|
||||
string json = JsonConvert.SerializeObject(product);
|
||||
// {
|
||||
// "Name": "Apple",
|
||||
// "Expiry": "2008-12-28T00:00:00",
|
||||
// "Sizes": [
|
||||
// "Small"
|
||||
// ]
|
||||
// }
|
||||
```
|
||||
|
||||
## Deserialize JSON
|
||||
|
||||
```csharp
|
||||
string json = @"{
|
||||
'Name': 'Bad Boys',
|
||||
'ReleaseDate': '1995-4-7T00:00:00',
|
||||
'Genres': [
|
||||
'Action',
|
||||
'Comedy'
|
||||
]
|
||||
}";
|
||||
|
||||
Movie m = JsonConvert.DeserializeObject<Movie>(json);
|
||||
|
||||
string name = m.Name;
|
||||
// Bad Boys
|
||||
```
|
||||
|
||||
## LINQ to JSON
|
||||
|
||||
```csharp
|
||||
JArray array = new JArray();
|
||||
array.Add("Manual text");
|
||||
array.Add(new DateTime(2000, 5, 23));
|
||||
|
||||
JObject o = new JObject();
|
||||
o["MyArray"] = array;
|
||||
|
||||
string json = o.ToString();
|
||||
// {
|
||||
// "MyArray": [
|
||||
// "Manual text",
|
||||
// "2000-05-23T00:00:00"
|
||||
// ]
|
||||
// }
|
||||
```
|
||||
|
||||
## Links
|
||||
|
||||
- [Homepage](https://www.newtonsoft.com/json)
|
||||
- [Documentation](https://www.newtonsoft.com/json/help)
|
||||
- [NuGet Package](https://www.nuget.org/packages/Newtonsoft.Json)
|
||||
- [Release Notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
|
||||
- [Contributing Guidelines](https://github.com/JamesNK/Newtonsoft.Json/blob/master/CONTRIBUTING.md)
|
||||
- [License](https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)
|
||||
- [Stack Overflow](https://stackoverflow.com/questions/tagged/json.net)
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c6f55d45332bf34096a5ca9a5567681
|
||||
PrefabImporter:
|
||||
guid: 6069c71b8cbde2c46af37b4d5e9d6a4f
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0569847255b194d4da45463253c1e4b1
|
||||
guid: 520a919eca99b2345bd9cdcf39fe8e58
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9b982b4ebc3ab07418a1e9965b232813
|
||||
guid: 45501e75b3795d04cbf421ad8a1021d3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
BIN
Binary file not shown.
+3
-13
@@ -1,5 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a4c52cca01a63c54ba72e8a873c28f55
|
||||
guid: 0321b95b71cdcb84396730b66dc18f74
|
||||
labels:
|
||||
- NuGetForUnity
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@@ -16,18 +18,6 @@ PluginImporter:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
Windows Store Apps: WindowsStoreApps
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+61
-3
@@ -865,6 +865,32 @@
|
||||
Converts a <see cref="T:System.DateTime"/> to and from Unix epoch time
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Newtonsoft.Json.Converters.UnixDateTimeConverter.AllowPreEpoch">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether the dates before Unix epoch
|
||||
should converted to and from JSON.
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> to allow converting dates before Unix epoch to and from JSON;
|
||||
<c>false</c> to throw an exception when a date being converted to or from JSON
|
||||
occurred before Unix epoch. The default value is <c>false</c>.
|
||||
</value>
|
||||
</member>
|
||||
<member name="M:Newtonsoft.Json.Converters.UnixDateTimeConverter.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Converters.UnixDateTimeConverter"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Newtonsoft.Json.Converters.UnixDateTimeConverter.#ctor(System.Boolean)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Converters.UnixDateTimeConverter"/> class.
|
||||
</summary>
|
||||
<param name="allowPreEpoch">
|
||||
<c>true</c> to allow converting dates before Unix epoch to and from JSON;
|
||||
<c>false</c> to throw an exception when a date being converted to or from JSON
|
||||
occurred before Unix epoch. The default value is <c>false</c>.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:Newtonsoft.Json.Converters.UnixDateTimeConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
|
||||
<summary>
|
||||
Writes the JSON representation of the object.
|
||||
@@ -2554,7 +2580,7 @@
|
||||
<summary>
|
||||
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a <see cref="T:Newtonsoft.Json.JsonReaderException"/>.
|
||||
A null value means there is no maximum.
|
||||
The default value is <c>128</c>.
|
||||
The default value is <c>64</c>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Newtonsoft.Json.JsonReader.TokenType">
|
||||
@@ -3014,7 +3040,7 @@
|
||||
<summary>
|
||||
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a <see cref="T:Newtonsoft.Json.JsonReaderException"/>.
|
||||
A null value means there is no maximum.
|
||||
The default value is <c>128</c>.
|
||||
The default value is <c>64</c>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Newtonsoft.Json.JsonSerializer.CheckAdditionalContent">
|
||||
@@ -3330,7 +3356,7 @@
|
||||
<summary>
|
||||
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a <see cref="T:Newtonsoft.Json.JsonReaderException"/>.
|
||||
A null value means there is no maximum.
|
||||
The default value is <c>128</c>.
|
||||
The default value is <c>64</c>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Newtonsoft.Json.JsonSerializerSettings.Formatting">
|
||||
@@ -3397,6 +3423,12 @@
|
||||
Initializes a new instance of the <see cref="T:Newtonsoft.Json.JsonSerializerSettings"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Newtonsoft.Json.JsonSerializerSettings.#ctor(Newtonsoft.Json.JsonSerializerSettings)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Newtonsoft.Json.JsonSerializerSettings"/> class
|
||||
using values copied from the passed in <see cref="T:Newtonsoft.Json.JsonSerializerSettings"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Newtonsoft.Json.JsonTextReader">
|
||||
<summary>
|
||||
Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
|
||||
@@ -7031,6 +7063,25 @@
|
||||
<param name="reader">The reader.</param>
|
||||
<returns>An instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
|
||||
</member>
|
||||
<member name="T:Newtonsoft.Json.Linq.JsonCloneSettings">
|
||||
<summary>
|
||||
Specifies the settings used when cloning JSON.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Newtonsoft.Json.Linq.JsonCloneSettings.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JsonCloneSettings"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Newtonsoft.Json.Linq.JsonCloneSettings.CopyAnnotations">
|
||||
<summary>
|
||||
Gets or sets a flag that indicates whether to copy annotations when cloning a <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
|
||||
The default value is <c>true</c>.
|
||||
</summary>
|
||||
<value>
|
||||
A flag that indicates whether to copy annotations when cloning a <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:Newtonsoft.Json.Linq.JsonLoadSettings">
|
||||
<summary>
|
||||
Specifies the settings used when loading JSON.
|
||||
@@ -8071,6 +8122,13 @@
|
||||
</summary>
|
||||
<returns>A new instance of the <see cref="T:Newtonsoft.Json.Linq.JToken"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Newtonsoft.Json.Linq.JToken.DeepClone(Newtonsoft.Json.Linq.JsonCloneSettings)">
|
||||
<summary>
|
||||
Creates a new instance of the <see cref="T:Newtonsoft.Json.Linq.JToken"/>. All child tokens are recursively cloned.
|
||||
</summary>
|
||||
<param name="settings">A <see cref="T:Newtonsoft.Json.Linq.JsonCloneSettings"/> object to configure cloning settings.</param>
|
||||
<returns>A new instance of the <see cref="T:Newtonsoft.Json.Linq.JToken"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Newtonsoft.Json.Linq.JToken.AddAnnotation(System.Object)">
|
||||
<summary>
|
||||
Adds an object to the annotation list of this <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7cdd1b6e2b1397547b722844a364a7c7
|
||||
guid: 9b4b3cddff1ae1343a973b35c0738edd
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
File renamed without changes.
|
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
+16
-14
@@ -1,12 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ae6bfbdbb96b54d86991f396e7a66dae
|
||||
guid: be12599e7ed6ddb44ac085726df1d0fd
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 11
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
@@ -20,11 +20,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -36,13 +37,13 @@ TextureImporter:
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
@@ -51,9 +52,9 @@ TextureImporter:
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
@@ -63,12 +64,14 @@ TextureImporter:
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 4
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
@@ -130,7 +133,7 @@ TextureImporter:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
@@ -138,9 +141,8 @@ TextureImporter:
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>ini-parser-netstandard</id>
|
||||
<version>2.5.2</version>
|
||||
<authors>Ricardo Amores Hernández</authors>
|
||||
<owners>Ricardo Amores Hernández</owners>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<licenseUrl>https://github.com/rickyah/ini-parser/blob/master/LICENSE</licenseUrl>
|
||||
<projectUrl>https://github.com/rickyah/ini-parser</projectUrl>
|
||||
<description>A .NET, Mono and Unity3d compatible(*) library for reading/writing INI data from IO streams, file streams, and strings written in C#.
|
||||
|
||||
Also implements merging operations, both for complete ini files, sections, or even just a subset of the keys contained by the files.
|
||||
|
||||
(*) This library is 100% .NET code and does not have any dependencies on Windows API calls in order to be portable.</description>
|
||||
<tags>ini</tags>
|
||||
<dependencies>
|
||||
<group targetFramework=".NETFramework2.0" />
|
||||
<group targetFramework=".NETStandard2.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 447a6384f74b843dc8c19f6397c505f7
|
||||
guid: 3d4c838ee303a814f829ff91259ec31a
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
+2
@@ -1,5 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f691697ada4059c46a06801ddaf2ee3a
|
||||
labels:
|
||||
- NuGetForUnity
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#endif
|
||||
|
||||
using UnityEngine;
|
||||
using UnityEngine.Assemblies;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
@@ -154,7 +155,7 @@ namespace IngameDebugConsole
|
||||
#endif
|
||||
|
||||
#if UNITY_EDITOR || !NETFX_CORE
|
||||
foreach( Assembly assembly in AppDomain.CurrentDomain.GetAssemblies() )
|
||||
foreach( Assembly assembly in CurrentAssemblies.GetLoadedAssemblies() )
|
||||
#else
|
||||
foreach( Assembly assembly in new Assembly[] { typeof( DebugLogConsole ).Assembly } ) // On UWP, at least search this plugin's Assembly for console methods
|
||||
#endif
|
||||
|
||||
@@ -487,9 +487,6 @@ namespace IngameDebugConsole
|
||||
ShowLogWindow();
|
||||
}
|
||||
};
|
||||
|
||||
// On new Input System, scroll sensitivity is much higher than legacy Input system
|
||||
logItemsScrollRect.scrollSensitivity *= 0.25f;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7a9e374666ad6cc47807bb001844f3d8
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 7083033307043653755
|
||||
second: IconClear_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -33,7 +39,7 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,8 +82,10 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -79,8 +95,10 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Android
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -90,8 +108,10 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -101,21 +121,50 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconClear_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: b78e896e34dfb4260800000000000000
|
||||
internalID: 7083033307043653755
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 3836c7ae9aa6f824da6f8347c6e32c43
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d1546f8db185caf4dafcfa58efa3ba2c
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -9012608150200262157
|
||||
second: IconCollapse_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -33,7 +39,7 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconCollapse_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 3f1e58363a8cce280800000000000000
|
||||
internalID: -9012608150200262157
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 639ca7ebc0a64554482a717c64d51d24
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 66305a19e3614694f868c75a982e6b68
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 6401936709021989356
|
||||
second: IconError_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -33,7 +39,7 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconError_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: ce9f9c7948f38d850800000000000000
|
||||
internalID: 6401936709021989356
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 8875755fe02d7214091df89b92edd210
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b3905a73a6672d9449647aaf036e23fc
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 2199586576348823468
|
||||
second: IconHide_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -33,7 +39,7 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconHide_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: caf3df75650868e10800000000000000
|
||||
internalID: 2199586576348823468
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 9b92e03fc5945414a8a426e93c68fcbe
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a97d5afa6254804f81b7ba956296996
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -4826441506760121832
|
||||
second: IconInfo_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -33,7 +39,7 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconInfo_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 812ac5c6509050db0800000000000000
|
||||
internalID: -4826441506760121832
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: c00ce003027561940a20750ce2ec8810
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7f0db3cf23c93fc4eac01cb3a52388ee
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -2659458977416043310
|
||||
second: IconResizeAllDirections_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -33,7 +39,7 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconResizeAllDirections_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 2d4a4648624b71bd0800000000000000
|
||||
internalID: -2659458977416043310
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 6a542ff141c56a441b218c2c008e2b9e
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9fd8f6b461461f4a92eafc60921ee78
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -3887775327286672862
|
||||
second: IconResizeVertialOnly_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -33,7 +39,7 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconResizeVertialOnly_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 222cc8a20f8db0ac0800000000000000
|
||||
internalID: -3887775327286672862
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: b46b6af4aff06c34e8ba13b6059fb8da
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 066c0b04be98cd348abb79add91d42bf
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -8095209065642688184
|
||||
second: IconSnapToBottom_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -33,7 +39,7 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconSnapToBottom_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 84188dbbe3a08af80800000000000000
|
||||
internalID: -8095209065642688184
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: e628556516fcac241a23d01792591c3c
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b902f763d0e47364dae25207b7e47800
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -5274203655101609884
|
||||
second: IconSnapToBottomBg_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -32,8 +38,8 @@ TextureImporter:
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconSnapToBottomBg_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 4680a9838b34ec6b0800000000000000
|
||||
internalID: -5274203655101609884
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 08f5a88423381dc45b542f22a90b30e8
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05c7216c78d4dd34ebe2bac9c1e274d7
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 1685250737738193494
|
||||
second: IconWarning_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -33,7 +39,7 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconWarning_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 65a995cfd96336710800000000000000
|
||||
internalID: 1685250737738193494
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 3f32561a3beb7e249b1cfa6e053caa43
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e04e6c970b950d946a782ea08e5f971d
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -2137281117339298350
|
||||
second: SearchIcon_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -31,9 +37,9 @@ TextureImporter:
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,8 +82,10 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -79,8 +95,10 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Android
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -90,8 +108,10 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -101,21 +121,50 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: SearchIcon_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 2d557d7c52ad652e0800000000000000
|
||||
internalID: -2137281117339298350
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 263e50c82e167bc44bfdde419121bc78
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 066d3840badf4d24dba1d42b4c59b888
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -6976999712832027531
|
||||
second: SlicedBackground_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -32,8 +38,8 @@ TextureImporter:
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,8 +82,10 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -79,8 +95,10 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Android
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -90,8 +108,10 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -101,21 +121,50 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: SlicedBackground_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 57405a61ab7bc2f90800000000000000
|
||||
internalID: -6976999712832027531
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 2311f8b2f06466345b87d204307ed84e
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 98e8e1cf8dc7dbf469617c2e40c8a944
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 815577836395317672
|
||||
second: SlicedBackground2_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -32,8 +38,8 @@ TextureImporter:
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: SlicedBackground2_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 8a9460998b3815b00800000000000000
|
||||
internalID: 815577836395317672
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 4bc2aa552c134ca4e8c3a6c6cb974270
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b3f0d976f6d6802479d6465d11b3aa68
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 6588949977396774281
|
||||
second: SlicedBackground3_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -32,8 +38,8 @@ TextureImporter:
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: SlicedBackground3_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 9858d8d3817a07b50800000000000000
|
||||
internalID: 6588949977396774281
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 8ecbded2354ad2248a3fa2e557673e38
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag: DebugLogUI
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a97ca0b99ece2d94aaaf59653feb45dd
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -222122796262546087
|
||||
second: IconErrorHighRes_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -31,9 +37,9 @@ TextureImporter:
|
||||
maxTextureSize: 64
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconErrorHighRes_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 95521406e7cdaecf0800000000000000
|
||||
internalID: -222122796262546087
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: bf4e982cb39f0314da0949c4dce22a87
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33b115bf5efdfa04d8e2e0b70a6643cd
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -3691353220417448923
|
||||
second: IconInfoHighRes_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -31,9 +37,9 @@ TextureImporter:
|
||||
maxTextureSize: 64
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconInfoHighRes_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 524168cbdcda5ccc0800000000000000
|
||||
internalID: -3691353220417448923
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: f2e178f8c5612d34ca5a62a442c9c532
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: af17f91b4376d6a41a793c056c02dadc
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 814067657533916712
|
||||
second: IconWarningHighRes_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
@@ -20,9 +23,12 @@ TextureImporter:
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -31,9 +37,9 @@ TextureImporter:
|
||||
maxTextureSize: 64
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
filterMode: 1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
@@ -50,15 +56,23 @@ TextureImporter:
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 1
|
||||
swizzle: 50462976
|
||||
cookieLightType: 1
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
@@ -68,21 +82,76 @@ TextureImporter:
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: IconWarningHighRes_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 826817ea8362c4b00800000000000000
|
||||
internalID: 814067657533916712
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 0c5f0564a43ca4749aaf923c81014fe5
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 1
|
||||
pSDShowRemoveMatteOption: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -1,33 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8dc1be91775c4bb469f6b74cef450eaa
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
Windows Store Apps: WindowsStoreApps
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1d9014b99ad06af428514a5902d29ff3
|
||||
timeCreated: 1573248500
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 83c5d2001771f15429a88d67e81366d6
|
||||
timeCreated: 1517876157
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 KiB |
@@ -1,8 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b3fad56c531ac5a4db190a745f589a8e
|
||||
guid: 6440a5f3157375d469774ee0793ec07b
|
||||
folderAsset: yes
|
||||
timeCreated: 1510280304
|
||||
licenseType: Free
|
||||
timeCreated: 1479413187
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
@@ -1,8 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 217cb7caed5f7fb49b339428b1d80974
|
||||
guid: ff366e107d0770a41a2afe8ad87ef708
|
||||
folderAsset: yes
|
||||
timeCreated: 1510280316
|
||||
licenseType: Free
|
||||
timeCreated: 1509396159
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
@@ -0,0 +1,31 @@
|
||||
#if UNITY_EDITOR || UNITY_ANDROID
|
||||
using UnityEngine;
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
public class FBCallbackHelper : MonoBehaviour
|
||||
{
|
||||
private System.Action mainThreadAction = null;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
DontDestroyOnLoad( gameObject );
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if( mainThreadAction != null )
|
||||
{
|
||||
System.Action temp = mainThreadAction;
|
||||
mainThreadAction = null;
|
||||
temp();
|
||||
}
|
||||
}
|
||||
|
||||
public void CallOnMainThread( System.Action function )
|
||||
{
|
||||
mainThreadAction = function;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 997bfc59716c24c41ad03bcbd7f8ef0a
|
||||
timeCreated: 1570918076
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,36 @@
|
||||
#if UNITY_EDITOR || UNITY_ANDROID
|
||||
using UnityEngine;
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
public class FBDirectoryReceiveCallbackAndroid : AndroidJavaProxy
|
||||
{
|
||||
private readonly FileBrowser.AndroidSAFDirectoryPickCallback callback;
|
||||
private readonly FBCallbackHelper callbackHelper;
|
||||
|
||||
public FBDirectoryReceiveCallbackAndroid( FileBrowser.AndroidSAFDirectoryPickCallback callback ) : base( "com.yasirkula.unity.FileBrowserDirectoryReceiver" )
|
||||
{
|
||||
this.callback = callback;
|
||||
callbackHelper = new GameObject( "FBCallbackHelper" ).AddComponent<FBCallbackHelper>();
|
||||
}
|
||||
|
||||
public void OnDirectoryPicked( string rawUri, string name )
|
||||
{
|
||||
callbackHelper.CallOnMainThread( () => DirectoryPickedCallback( rawUri, name ) );
|
||||
}
|
||||
|
||||
private void DirectoryPickedCallback( string rawUri, string name )
|
||||
{
|
||||
try
|
||||
{
|
||||
if( callback != null )
|
||||
callback( rawUri, name );
|
||||
}
|
||||
finally
|
||||
{
|
||||
Object.Destroy( callbackHelper.gameObject );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8dec4dc5be16ca84e9c147627361671d
|
||||
timeCreated: 1520199471
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
#if UNITY_EDITOR || UNITY_ANDROID
|
||||
using System.Threading;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
public class FBPermissionCallbackAndroid : AndroidJavaProxy
|
||||
{
|
||||
private object threadLock;
|
||||
public int Result { get; private set; }
|
||||
|
||||
public FBPermissionCallbackAndroid( object threadLock ) : base( "com.yasirkula.unity.FileBrowserPermissionReceiver" )
|
||||
{
|
||||
Result = -1;
|
||||
this.threadLock = threadLock;
|
||||
}
|
||||
|
||||
public void OnPermissionResult( int result )
|
||||
{
|
||||
Result = result;
|
||||
|
||||
lock( threadLock )
|
||||
{
|
||||
Monitor.Pulse( threadLock );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2cd91db0ba676ef47af67e3597037d1a
|
||||
timeCreated: 1520199471
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,33 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cae0a78f915b13748ba09fd56bafb4c8
|
||||
timeCreated: 1606638456
|
||||
licenseType: Store
|
||||
PluginImporter:
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
data:
|
||||
first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
data:
|
||||
first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
data:
|
||||
first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 53eaeb5abaee5aa4ca7f07beacb73c2e
|
||||
folderAsset: yes
|
||||
timeCreated: 1479489583
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,325 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 1000011646011302}
|
||||
m_IsPrefabParent: 1
|
||||
--- !u!1 &1000010981689570
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 224000013702633820}
|
||||
- component: {fileID: 222000010857273394}
|
||||
- component: {fileID: 114000013995033306}
|
||||
m_Layer: 5
|
||||
m_Name: Name
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1 &1000011646011302
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 224000013952242090}
|
||||
- component: {fileID: 222000013410998874}
|
||||
- component: {fileID: 114000012602770182}
|
||||
- component: {fileID: 114000012265032802}
|
||||
m_Layer: 5
|
||||
m_Name: SimpleFileBrowserItem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1 &1000013967986654
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 224000012393993334}
|
||||
- component: {fileID: 222000012809932278}
|
||||
- component: {fileID: 114000013208375990}
|
||||
m_Layer: 5
|
||||
m_Name: MultiSelectionToggle
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!1 &1268973638054374
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 224447975432582502}
|
||||
- component: {fileID: 222113778025760416}
|
||||
- component: {fileID: 114807149938652920}
|
||||
- component: {fileID: 114942441918357790}
|
||||
m_Layer: 5
|
||||
m_Name: Icon
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &114000012265032802
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000011646011302}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: b5f1b2825c50f7b4d9be146ab2137bff, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
background: {fileID: 114000012602770182}
|
||||
icon: {fileID: 114807149938652920}
|
||||
multiSelectionToggle: {fileID: 114000013208375990}
|
||||
nameText: {fileID: 114000013995033306}
|
||||
--- !u!114 &114000012602770182
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000011646011302}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_Sprite: {fileID: 21300000, guid: 6ff773ea42aedd04c8bb96a1fe9a73b8, type: 3}
|
||||
m_Type: 1
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
--- !u!114 &114000013208375990
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000013967986654}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_Sprite: {fileID: 21300000, guid: d6beaeac8de2af749a48581db778df3e, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 1
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
--- !u!114 &114000013995033306
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000010981689570}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_FontData:
|
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 14
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 10
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 3
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 1
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: Filename
|
||||
--- !u!114 &114807149938652920
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1268973638054374}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_Sprite: {fileID: 0}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 1
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
--- !u!114 &114942441918357790
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1268973638054374}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 1573420865, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_EffectColor: {r: 0, g: 0, b: 0, a: 0.1764706}
|
||||
m_EffectDistance: {x: 0.75, y: -0.75}
|
||||
m_UseGraphicAlpha: 1
|
||||
--- !u!222 &222000010857273394
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000010981689570}
|
||||
--- !u!222 &222000012809932278
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000013967986654}
|
||||
--- !u!222 &222000013410998874
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000011646011302}
|
||||
--- !u!222 &222113778025760416
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1268973638054374}
|
||||
--- !u!224 &224000012393993334
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000013967986654}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 224000013952242090}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 18.99997, y: 0}
|
||||
m_SizeDelta: {x: 30, y: -6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!224 &224000013702633820
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000010981689570}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 224000013952242090}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 19, y: 0}
|
||||
m_SizeDelta: {x: -38, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!224 &224000013952242090
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000011646011302}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 224000012393993334}
|
||||
- {fileID: 224447975432582502}
|
||||
- {fileID: 224000013702633820}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 30}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
--- !u!224 &224447975432582502
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1268973638054374}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 224000013952242090}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 19, y: 0}
|
||||
m_SizeDelta: {x: 30, y: -6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c2db22c1e3cd2584fa0e9168745a4536
|
||||
timeCreated: 1479415743
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,256 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 1000011646011302}
|
||||
m_IsPrefabParent: 1
|
||||
--- !u!1 &1000010981689570
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 224000013702633820}
|
||||
- component: {fileID: 222000010857273394}
|
||||
- component: {fileID: 114000013995033306}
|
||||
m_Layer: 5
|
||||
m_Name: Name
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1 &1000011646011302
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 224000013952242090}
|
||||
- component: {fileID: 222000013410998874}
|
||||
- component: {fileID: 114000012602770182}
|
||||
- component: {fileID: 114000012163346592}
|
||||
m_Layer: 5
|
||||
m_Name: SimpleFileBrowserQuickLink
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1 &1000013967986654
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 224000012393993334}
|
||||
- component: {fileID: 222000012809932278}
|
||||
- component: {fileID: 114000013208375990}
|
||||
- component: {fileID: 114174331659558594}
|
||||
m_Layer: 5
|
||||
m_Name: Icon
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &114000012163346592
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000011646011302}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1f277f5418eabf94cad94208055878af, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
background: {fileID: 114000012602770182}
|
||||
icon: {fileID: 114000013208375990}
|
||||
multiSelectionToggle: {fileID: 0}
|
||||
nameText: {fileID: 114000013995033306}
|
||||
--- !u!114 &114000012602770182
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000011646011302}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_Sprite: {fileID: 21300000, guid: 6ff773ea42aedd04c8bb96a1fe9a73b8, type: 3}
|
||||
m_Type: 1
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
--- !u!114 &114000013208375990
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000013967986654}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_Sprite: {fileID: 0}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 1
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
--- !u!114 &114000013995033306
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000010981689570}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_FontData:
|
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 14
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 10
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 3
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 1
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: Filename
|
||||
--- !u!114 &114174331659558594
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000013967986654}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 1573420865, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_EffectColor: {r: 0, g: 0, b: 0, a: 0.1764706}
|
||||
m_EffectDistance: {x: 0.75, y: -0.75}
|
||||
m_UseGraphicAlpha: 1
|
||||
--- !u!222 &222000010857273394
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000010981689570}
|
||||
--- !u!222 &222000012809932278
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000013967986654}
|
||||
--- !u!222 &222000013410998874
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000011646011302}
|
||||
--- !u!224 &224000012393993334
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000013967986654}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 224000013952242090}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 19, y: 0}
|
||||
m_SizeDelta: {x: 30, y: -6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!224 &224000013702633820
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000010981689570}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 224000013952242090}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 19, y: 0}
|
||||
m_SizeDelta: {x: -38, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!224 &224000013952242090
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1000011646011302}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 224000012393993334}
|
||||
- {fileID: 224000013702633820}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 30}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 419c1f8581236d6469bd13ae862bfb50
|
||||
timeCreated: 1479415743
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,121 @@
|
||||
= Simple File Browser (v1.5.9) =
|
||||
|
||||
Online documentation & example code available at: https://github.com/yasirkula/UnitySimpleFileBrowser
|
||||
E-mail: yasirkula@gmail.com
|
||||
|
||||
### ABOUT
|
||||
This plugin helps you show save/load dialogs during gameplay with its uGUI based file browser.
|
||||
|
||||
|
||||
### HOW TO
|
||||
The file browser can be shown either as a save dialog or a load dialog. In load mode, the returned path(s) always lead to existing files or folders. In save mode, the returned path(s) can point to non-existing files, as well.
|
||||
|
||||
File browser comes bundled with two premade skins in the Skins directory: LightSkin and DarkSkin. New UISkins can be created via "Assets-Create-yasirkula-SimpleFileBrowser-UI Skin". A UISkin can be assigned to the file browser in two ways:
|
||||
|
||||
- By changing SimpleFileBrowserCanvas prefab's Skin field
|
||||
- By changing the value of FileBrowser.Skin property from a C# script
|
||||
|
||||
|
||||
### NEW INPUT SYSTEM SUPPORT
|
||||
This plugin supports Unity's new Input System but it requires some manual modifications (if both the legacy and the new input systems are active at the same time, no changes are needed):
|
||||
|
||||
- the plugin mustn't be installed as a package, i.e. it must reside inside the Assets folder and not the Packages folder (it can reside inside a subfolder of Assets like Assets/Plugins)
|
||||
- if Unity 2019.2.5 or earlier is used, add ENABLE_INPUT_SYSTEM compiler directive to "Player Settings/Scripting Define Symbols" (these symbols are platform specific, so if you change the active platform later, you'll have to add the compiler directive again)
|
||||
- add "Unity.InputSystem" assembly to "SimpleFileBrowser.Runtime" Assembly Definition File's "Assembly Definition References" list
|
||||
- open SimpleFileBrowserCanvas prefab, select EventSystem child object and replace StandaloneInputModule component with InputSystemUIInputModule component (or, if your scene(s) already have EventSystem objects, you can delete SimpleFileBrowserCanvas prefab's EventSystem child object)
|
||||
|
||||
|
||||
### FAQ
|
||||
- Android build fails, it says "error: attribute android:requestLegacyExternalStorage not found" in Console
|
||||
"android:requestLegacyExternalStorage" attribute in AndroidManifest.xml grants full access to device's storage on Android 10 but requires you to update your Android SDK to at least SDK 29. If this isn't possible for you, you should open SimpleFileBrowser.aar with WinRAR or 7-Zip and then remove the "<application ... />" tag from AndroidManifest.xml.
|
||||
|
||||
- Can't show the file browser on Android, it says "java.lang.ClassNotFoundException: com.yasirkula.unity.FileBrowserPermissionReceiver" in Logcat
|
||||
If you are sure that your plugin is up-to-date, then enable "Custom Proguard File" option from Player Settings and add the following line to that file: -keep class com.yasirkula.unity.* { *; }
|
||||
|
||||
- File browser doesn't show any files on Android 10+
|
||||
File browser uses Storage Access Framework on these Android versions and users must first click the "Pick Folder" button in the quick links section
|
||||
|
||||
- File browser doesn't show any files on Unity 2021.3.x
|
||||
Please see: https://github.com/yasirkula/UnitySimpleFileBrowser/issues/70
|
||||
|
||||
- RequestPermission returns Permission.Denied on Android
|
||||
Declare the WRITE_EXTERNAL_STORAGE permission manually in your Plugins/Android/AndroidManifest.xml file as follows: <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
|
||||
You'll need to add the following attribute to the '<manifest ...>' element: xmlns:tools="http://schemas.android.com/tools"
|
||||
|
||||
|
||||
### SCRIPTING API
|
||||
Please see the online documentation for a more in-depth documentation of the Scripting API: https://github.com/yasirkula/UnitySimpleFileBrowser
|
||||
|
||||
NOTE: On Android Q (10) or later, it is impossible to work with File APIs. On these devices, SimpleFileBrowser uses Storage Access Framework (SAF) to browse the files. However, paths returned by SAF are not File API compatible. To simulate the behaviour of the File API on all devices (including SAF), you can check out the FileBrowserHelpers functions. For reference, here is an example SAF path: content://com.android.externalstorage.documents/tree/primary%3A/document/primary%3APictures
|
||||
|
||||
// Namespace
|
||||
using SimpleFileBrowser;
|
||||
|
||||
public enum Permission { Denied = 0, Granted = 1, ShouldAsk = 2 };
|
||||
public enum PickMode { Files = 0, Folders = 1, FilesAndFolders = 2 };
|
||||
|
||||
public delegate void OnSuccess( string[] paths );
|
||||
public delegate void OnCancel();
|
||||
|
||||
// Changing the dialog's skin
|
||||
public static UISkin Skin { get; set; }
|
||||
|
||||
// Showing dialog
|
||||
bool ShowSaveDialog( OnSuccess onSuccess, OnCancel onCancel, PickMode pickMode, bool allowMultiSelection = false, string initialPath = null, string initialFilename = null, string title = "Save", string saveButtonText = "Save" );
|
||||
bool ShowLoadDialog( OnSuccess onSuccess, OnCancel onCancel, PickMode pickMode, bool allowMultiSelection = false, string initialPath = null, string initialFilename = null, string title = "Load", string loadButtonText = "Select" );
|
||||
|
||||
IEnumerator WaitForSaveDialog( PickMode pickMode, bool allowMultiSelection = false, string initialPath = null, string initialFilename = null, string title = "Save", string saveButtonText = "Save" );
|
||||
IEnumerator WaitForLoadDialog( PickMode pickMode, bool allowMultiSelection = false, string initialPath = null, string initialFilename = null, string title = "Load", string loadButtonText = "Select" );
|
||||
|
||||
// Force closing an open dialog
|
||||
void HideDialog( bool invokeCancelCallback = false );
|
||||
|
||||
// Customizing the dialog
|
||||
bool AddQuickLink( string name, string path, Sprite icon = null );
|
||||
void ClearQuickLinks();
|
||||
|
||||
void SetExcludedExtensions( params string[] excludedExtensions );
|
||||
|
||||
// Filters should include the period (e.g. ".jpg" instead of "jpg")
|
||||
void SetFilters( bool showAllFilesFilter, IEnumerable<string> filters );
|
||||
void SetFilters( bool showAllFilesFilter, params string[] filters );
|
||||
void SetFilters( bool showAllFilesFilter, IEnumerable<FileBrowser.Filter> filters );
|
||||
void SetFilters( bool showAllFilesFilter, params FileBrowser.Filter[] filters );
|
||||
|
||||
bool SetDefaultFilter( string defaultFilter );
|
||||
|
||||
// Filtering displayed files/folders programmatically
|
||||
delegate bool FileSystemEntryFilter( FileSystemEntry entry );
|
||||
event FileSystemEntryFilter DisplayedEntriesFilter;
|
||||
|
||||
// Android runtime permissions
|
||||
FileBrowser.Permission CheckPermission();
|
||||
FileBrowser.Permission RequestPermission();
|
||||
|
||||
// File manipulation functions that work on all platforms (including Storage Access Framework (SAF) on Android 10+)
|
||||
// These functions should be called with the paths returned by the FileBrowser functions only
|
||||
bool FileBrowserHelpers.FileExists( string path );
|
||||
bool FileBrowserHelpers.DirectoryExists( string path );
|
||||
bool FileBrowserHelpers.IsDirectory( string path );
|
||||
bool FileBrowserHelpers.IsPathDescendantOfAnother( string path, string parentFolderPath );
|
||||
string FileBrowserHelpers.GetDirectoryName( string path );
|
||||
FileSystemEntry[] FileBrowserHelpers.GetEntriesInDirectory( string path, bool extractOnlyLastSuffixFromExtensions ); // Returns all files and folders in a directory. If you want "File.tar.gz"s extension to be extracted as ".tar.gz" instead of ".gz", set 'extractOnlyLastSuffixFromExtensions' to false
|
||||
string FileBrowserHelpers.CreateFileInDirectory( string directoryPath, string filename ); // Returns the created file's path
|
||||
string FileBrowserHelpers.CreateFolderInDirectory( string directoryPath, string folderName ); // Returns the created folder's path
|
||||
void FileBrowserHelpers.WriteBytesToFile( string targetPath, byte[] bytes );
|
||||
void FileBrowserHelpers.WriteTextToFile( string targetPath, string text );
|
||||
void FileBrowserHelpers.AppendBytesToFile( string targetPath, byte[] bytes );
|
||||
void FileBrowserHelpers.AppendTextToFile( string targetPath, string text );
|
||||
byte[] FileBrowserHelpers.ReadBytesFromFile( string sourcePath );
|
||||
string FileBrowserHelpers.ReadTextFromFile( string sourcePath );
|
||||
void FileBrowserHelpers.CopyFile( string sourcePath, string destinationPath );
|
||||
void FileBrowserHelpers.CopyDirectory( string sourcePath, string destinationPath );
|
||||
void FileBrowserHelpers.MoveFile( string sourcePath, string destinationPath );
|
||||
void FileBrowserHelpers.MoveDirectory( string sourcePath, string destinationPath );
|
||||
string FileBrowserHelpers.RenameFile( string path, string newName ); // Returns the new path of the file
|
||||
string FileBrowserHelpers.RenameDirectory( string path, string newName ); // Returns the new path of the directory
|
||||
void FileBrowserHelpers.DeleteFile( string path );
|
||||
void FileBrowserHelpers.DeleteDirectory( string path );
|
||||
string FileBrowserHelpers.GetFilename( string path );
|
||||
long FileBrowserHelpers.GetFilesize( string path );
|
||||
DateTime FileBrowserHelpers.GetLastModifiedDate( string path );
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 02a0a0f34932297429c157aca8b9a977
|
||||
timeCreated: 1563308858
|
||||
licenseType: Store
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1738075a39a390447b7a620ca6962142
|
||||
guid: f4cd9780a618bad4b821ad3b1a68bacd
|
||||
folderAsset: yes
|
||||
timeCreated: 1510280362
|
||||
licenseType: Free
|
||||
timeCreated: 1479561120
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9ea2606f8fddead46aabb7adb3d8d434
|
||||
timeCreated: 1479415546
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: be37f3e38d135f94e9d78c79ef89d303
|
||||
folderAsset: yes
|
||||
timeCreated: 1479413886
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,57 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
// Avoid multiple EventSystems in the scene by activating the embedded EventSystem only if one doesn't already exist in the scene
|
||||
[DefaultExecutionOrder( 1000 )]
|
||||
public class EventSystemHandler : MonoBehaviour
|
||||
{
|
||||
#pragma warning disable 0649
|
||||
[SerializeField]
|
||||
private GameObject embeddedEventSystem;
|
||||
#pragma warning restore 0649
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
SceneManager.sceneLoaded -= OnSceneLoaded;
|
||||
SceneManager.sceneLoaded += OnSceneLoaded;
|
||||
SceneManager.sceneUnloaded -= OnSceneUnloaded;
|
||||
SceneManager.sceneUnloaded += OnSceneUnloaded;
|
||||
|
||||
ActivateEventSystemIfNeeded();
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
SceneManager.sceneLoaded -= OnSceneLoaded;
|
||||
SceneManager.sceneUnloaded -= OnSceneUnloaded;
|
||||
|
||||
DeactivateEventSystem();
|
||||
}
|
||||
|
||||
private void OnSceneLoaded( Scene scene, LoadSceneMode mode )
|
||||
{
|
||||
ActivateEventSystemIfNeeded();
|
||||
}
|
||||
|
||||
private void OnSceneUnloaded( Scene current )
|
||||
{
|
||||
// Deactivate the embedded EventSystem before changing scenes because the new scene might have its own EventSystem
|
||||
DeactivateEventSystem();
|
||||
}
|
||||
|
||||
private void ActivateEventSystemIfNeeded()
|
||||
{
|
||||
if( embeddedEventSystem && !EventSystem.current )
|
||||
embeddedEventSystem.SetActive( true );
|
||||
}
|
||||
|
||||
private void DeactivateEventSystem()
|
||||
{
|
||||
if( embeddedEventSystem )
|
||||
embeddedEventSystem.SetActive( false );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0868341868a4a4641b4d272d2fc5f538
|
||||
timeCreated: 1658741613
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f51dc09bf9e35804ba0f5e76c527025e
|
||||
timeCreated: 1479416382
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,58 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||
using UnityEngine.InputSystem;
|
||||
#endif
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
public class FileBrowserAccessRestrictedPanel : MonoBehaviour
|
||||
{
|
||||
#pragma warning disable 0649
|
||||
[SerializeField]
|
||||
private Text messageLabel;
|
||||
|
||||
[SerializeField]
|
||||
private Button okButton;
|
||||
#pragma warning restore 0649
|
||||
|
||||
internal void Show()
|
||||
{
|
||||
gameObject.SetActive( true );
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WSA || UNITY_WSA_10_0
|
||||
private void LateUpdate()
|
||||
{
|
||||
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||
if( Keyboard.current != null )
|
||||
#endif
|
||||
{
|
||||
// Handle keyboard shortcuts
|
||||
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||
if( Keyboard.current[Key.Enter].wasPressedThisFrame || Keyboard.current[Key.NumpadEnter].wasPressedThisFrame || Keyboard.current[Key.Escape].wasPressedThisFrame )
|
||||
#else
|
||||
if( Input.GetKeyDown( KeyCode.Return ) || Input.GetKeyDown( KeyCode.KeypadEnter ) || Input.GetKeyDown( KeyCode.Escape ) )
|
||||
#endif
|
||||
OKButtonClicked();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
internal void RefreshSkin( UISkin skin )
|
||||
{
|
||||
Image background = GetComponentInChildren<Image>();
|
||||
background.color = skin.PopupPanelsBackgroundColor;
|
||||
background.sprite = skin.PopupPanelsBackground;
|
||||
|
||||
skin.ApplyTo( okButton );
|
||||
skin.ApplyTo( messageLabel, skin.PopupPanelsTextColor );
|
||||
}
|
||||
|
||||
public void OKButtonClicked()
|
||||
{
|
||||
gameObject.SetActive( false );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 85ea21be7cacb484cb6db0d183d3b2a8
|
||||
timeCreated: 1603800894
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,142 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
public class FileBrowserContextMenu : MonoBehaviour
|
||||
{
|
||||
#pragma warning disable 0649
|
||||
[SerializeField]
|
||||
private FileBrowser fileBrowser;
|
||||
|
||||
[SerializeField]
|
||||
private RectTransform rectTransform;
|
||||
|
||||
[SerializeField]
|
||||
private Button selectAllButton;
|
||||
[SerializeField]
|
||||
private Button deselectAllButton;
|
||||
[SerializeField]
|
||||
private Button createFolderButton;
|
||||
[SerializeField]
|
||||
private Button deleteButton;
|
||||
[SerializeField]
|
||||
private Button renameButton;
|
||||
|
||||
[SerializeField]
|
||||
private GameObject selectAllButtonSeparator;
|
||||
|
||||
[SerializeField]
|
||||
private Text[] allButtonTexts;
|
||||
[SerializeField]
|
||||
private Image[] allButtonSeparators;
|
||||
|
||||
[SerializeField]
|
||||
private float minDistanceToEdges = 10f;
|
||||
#pragma warning restore 0649
|
||||
|
||||
internal void Show( bool selectAllButtonVisible, bool deselectAllButtonVisible, bool deleteButtonVisible, bool renameButtonVisible, Vector2 position, bool isMoreOptionsMenu )
|
||||
{
|
||||
selectAllButton.gameObject.SetActive( selectAllButtonVisible );
|
||||
deselectAllButton.gameObject.SetActive( deselectAllButtonVisible );
|
||||
deleteButton.gameObject.SetActive( deleteButtonVisible );
|
||||
renameButton.gameObject.SetActive( renameButtonVisible );
|
||||
selectAllButtonSeparator.SetActive( !deselectAllButtonVisible );
|
||||
|
||||
rectTransform.anchoredPosition = position;
|
||||
gameObject.SetActive( true );
|
||||
|
||||
if( isMoreOptionsMenu )
|
||||
rectTransform.pivot = Vector2.one;
|
||||
else
|
||||
{
|
||||
// Find the optimal pivot value
|
||||
LayoutRebuilder.ForceRebuildLayoutImmediate( rectTransform );
|
||||
|
||||
Vector2 size = rectTransform.sizeDelta;
|
||||
Vector2 canvasSize = fileBrowser.rectTransform.sizeDelta;
|
||||
|
||||
// Take canvas' Pivot into consideration
|
||||
Vector2 positionOffset = canvasSize;
|
||||
positionOffset.Scale( fileBrowser.rectTransform.pivot );
|
||||
position += positionOffset;
|
||||
|
||||
// Try bottom-right corner first
|
||||
Vector2 cornerPos = position + new Vector2( size.x + minDistanceToEdges, -size.y - minDistanceToEdges );
|
||||
if( cornerPos.x <= canvasSize.x && cornerPos.y >= 0f )
|
||||
rectTransform.pivot = new Vector2( 0f, 1f );
|
||||
else
|
||||
{
|
||||
// Try bottom-left corner
|
||||
cornerPos = position - new Vector2( size.x + minDistanceToEdges, size.y + minDistanceToEdges );
|
||||
if( cornerPos.x >= 0f && cornerPos.y >= 0f )
|
||||
rectTransform.pivot = Vector2.one;
|
||||
else
|
||||
{
|
||||
// Try top-right corner
|
||||
cornerPos = position + new Vector2( size.x + minDistanceToEdges, size.y + minDistanceToEdges );
|
||||
if( cornerPos.x <= canvasSize.x && cornerPos.y <= canvasSize.y )
|
||||
rectTransform.pivot = Vector2.zero;
|
||||
else
|
||||
{
|
||||
// Use top-left corner
|
||||
rectTransform.pivot = new Vector2( 1f, 0f );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal void Hide()
|
||||
{
|
||||
gameObject.SetActive( false );
|
||||
}
|
||||
|
||||
internal void RefreshSkin( UISkin skin )
|
||||
{
|
||||
rectTransform.GetComponent<Image>().color = skin.ContextMenuBackgroundColor;
|
||||
|
||||
deselectAllButton.image.color = skin.ContextMenuBackgroundColor;
|
||||
selectAllButton.image.color = skin.ContextMenuBackgroundColor;
|
||||
createFolderButton.image.color = skin.ContextMenuBackgroundColor;
|
||||
deleteButton.image.color = skin.ContextMenuBackgroundColor;
|
||||
renameButton.image.color = skin.ContextMenuBackgroundColor;
|
||||
|
||||
for( int i = 0; i < allButtonTexts.Length; i++ )
|
||||
skin.ApplyTo( allButtonTexts[i], skin.ContextMenuTextColor );
|
||||
|
||||
for( int i = 0; i < allButtonSeparators.Length; i++ )
|
||||
allButtonSeparators[i].color = skin.ContextMenuSeparatorColor;
|
||||
}
|
||||
|
||||
public void OnSelectAllButtonClicked()
|
||||
{
|
||||
Hide();
|
||||
fileBrowser.SelectAllFiles();
|
||||
}
|
||||
|
||||
public void OnDeselectAllButtonClicked()
|
||||
{
|
||||
Hide();
|
||||
fileBrowser.DeselectAllFiles();
|
||||
}
|
||||
|
||||
public void OnCreateFolderButtonClicked()
|
||||
{
|
||||
Hide();
|
||||
fileBrowser.CreateNewFolder();
|
||||
}
|
||||
|
||||
public void OnDeleteButtonClicked()
|
||||
{
|
||||
Hide();
|
||||
fileBrowser.DeleteSelectedFiles();
|
||||
}
|
||||
|
||||
public void OnRenameButtonClicked()
|
||||
{
|
||||
Hide();
|
||||
fileBrowser.RenameSelectedFile();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d5261bc2717e6143961d30ccb76fb66
|
||||
timeCreated: 1603793977
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,61 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
public class FileBrowserCursorHandler : MonoBehaviour
|
||||
#if UNITY_EDITOR || ( !UNITY_ANDROID && !UNITY_IOS )
|
||||
, IPointerEnterHandler, IPointerExitHandler, IBeginDragHandler, IEndDragHandler
|
||||
#endif
|
||||
{
|
||||
#if UNITY_EDITOR || ( !UNITY_ANDROID && !UNITY_IOS )
|
||||
#pragma warning disable 0649
|
||||
[SerializeField]
|
||||
private Texture2D resizeCursor;
|
||||
#pragma warning restore 0649
|
||||
|
||||
private bool isHovering;
|
||||
private bool isResizing;
|
||||
|
||||
void IPointerEnterHandler.OnPointerEnter( PointerEventData eventData )
|
||||
{
|
||||
isHovering = true;
|
||||
|
||||
if( !eventData.dragging )
|
||||
ShowResizeCursor();
|
||||
}
|
||||
|
||||
void IPointerExitHandler.OnPointerExit( PointerEventData eventData )
|
||||
{
|
||||
isHovering = false;
|
||||
|
||||
if( !isResizing )
|
||||
ShowDefaultCursor();
|
||||
}
|
||||
|
||||
void IBeginDragHandler.OnBeginDrag( PointerEventData eventData )
|
||||
{
|
||||
isResizing = true;
|
||||
ShowResizeCursor();
|
||||
}
|
||||
|
||||
void IEndDragHandler.OnEndDrag( PointerEventData eventData )
|
||||
{
|
||||
isResizing = false;
|
||||
|
||||
if( !isHovering )
|
||||
ShowDefaultCursor();
|
||||
}
|
||||
|
||||
private void ShowDefaultCursor()
|
||||
{
|
||||
Cursor.SetCursor( null, Vector2.zero, CursorMode.Auto );
|
||||
}
|
||||
|
||||
private void ShowResizeCursor()
|
||||
{
|
||||
Cursor.SetCursor( resizeCursor, new Vector2( resizeCursor.width * 0.5f, resizeCursor.height * 0.5f ), CursorMode.Auto );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 759524cf7ef37f244bb00cd9724f0349
|
||||
timeCreated: 1603745549
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+159
@@ -0,0 +1,159 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||
using UnityEngine.InputSystem;
|
||||
#endif
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
public class FileBrowserFileOperationConfirmationPanel : MonoBehaviour
|
||||
{
|
||||
public enum OperationType { Delete = 0, Overwrite = 1 };
|
||||
|
||||
public delegate void OnOperationConfirmed();
|
||||
|
||||
#pragma warning disable 0649
|
||||
[SerializeField]
|
||||
private Text[] titleLabels;
|
||||
|
||||
[SerializeField]
|
||||
private GameObject[] targetItems;
|
||||
|
||||
[SerializeField]
|
||||
private Image[] targetItemIcons;
|
||||
|
||||
[SerializeField]
|
||||
private Text[] targetItemNames;
|
||||
|
||||
[SerializeField]
|
||||
private GameObject targetItemsRest;
|
||||
|
||||
[SerializeField]
|
||||
private Text targetItemsRestLabel;
|
||||
|
||||
[SerializeField]
|
||||
private RectTransform yesButtonTransform;
|
||||
|
||||
[SerializeField]
|
||||
private RectTransform noButtonTransform;
|
||||
|
||||
[SerializeField]
|
||||
private float narrowScreenWidth = 380f;
|
||||
#pragma warning restore 0649
|
||||
|
||||
private OnOperationConfirmed onOperationConfirmed;
|
||||
|
||||
internal void Show( FileBrowser fileBrowser, List<FileSystemEntry> items, OperationType operationType, OnOperationConfirmed onOperationConfirmed )
|
||||
{
|
||||
Show( fileBrowser, items, null, operationType, onOperationConfirmed );
|
||||
}
|
||||
|
||||
internal void Show( FileBrowser fileBrowser, List<FileSystemEntry> items, List<int> selectedItemIndices, OperationType operationType, OnOperationConfirmed onOperationConfirmed )
|
||||
{
|
||||
this.onOperationConfirmed = onOperationConfirmed;
|
||||
|
||||
int itemCount = ( selectedItemIndices != null ) ? selectedItemIndices.Count : items.Count;
|
||||
|
||||
for( int i = 0; i < titleLabels.Length; i++ )
|
||||
titleLabels[i].gameObject.SetActive( (int) operationType == i );
|
||||
|
||||
for( int i = 0; i < targetItems.Length; i++ )
|
||||
targetItems[i].SetActive( i < itemCount );
|
||||
|
||||
for( int i = 0; i < targetItems.Length && i < itemCount; i++ )
|
||||
{
|
||||
FileSystemEntry item = items[( selectedItemIndices != null ) ? selectedItemIndices[i] : i];
|
||||
targetItemIcons[i].sprite = fileBrowser.GetIconForFileEntry( item );
|
||||
targetItemNames[i].text = item.Name;
|
||||
}
|
||||
|
||||
if( itemCount > targetItems.Length )
|
||||
{
|
||||
targetItemsRestLabel.text = string.Concat( "...and ", ( itemCount - targetItems.Length ).ToString(), " other" );
|
||||
targetItemsRest.SetActive( true );
|
||||
}
|
||||
else
|
||||
targetItemsRest.SetActive( false );
|
||||
|
||||
gameObject.SetActive( true );
|
||||
}
|
||||
|
||||
// Handles responsive user interface
|
||||
internal void OnCanvasDimensionsChanged( Vector2 size )
|
||||
{
|
||||
if( size.x >= narrowScreenWidth )
|
||||
{
|
||||
yesButtonTransform.anchorMin = new Vector2( 0.5f, 0f );
|
||||
yesButtonTransform.anchorMax = new Vector2( 0.75f, 1f );
|
||||
noButtonTransform.anchorMin = new Vector2( 0.75f, 0f );
|
||||
}
|
||||
else
|
||||
{
|
||||
yesButtonTransform.anchorMin = Vector2.zero;
|
||||
yesButtonTransform.anchorMax = new Vector2( 0.5f, 1f );
|
||||
noButtonTransform.anchorMin = new Vector2( 0.5f, 0f );
|
||||
}
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WSA || UNITY_WSA_10_0
|
||||
private void LateUpdate()
|
||||
{
|
||||
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||
if( Keyboard.current != null )
|
||||
#endif
|
||||
{
|
||||
// Handle keyboard shortcuts
|
||||
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||
if( Keyboard.current[Key.Enter].wasPressedThisFrame || Keyboard.current[Key.NumpadEnter].wasPressedThisFrame )
|
||||
#else
|
||||
if( Input.GetKeyDown( KeyCode.Return ) || Input.GetKeyDown( KeyCode.KeypadEnter ) )
|
||||
#endif
|
||||
YesButtonClicked();
|
||||
|
||||
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||
if( Keyboard.current[Key.Escape].wasPressedThisFrame )
|
||||
#else
|
||||
if( Input.GetKeyDown( KeyCode.Escape ) )
|
||||
#endif
|
||||
NoButtonClicked();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
internal void RefreshSkin( UISkin skin )
|
||||
{
|
||||
Image background = GetComponentInChildren<Image>();
|
||||
background.color = skin.PopupPanelsBackgroundColor;
|
||||
background.sprite = skin.PopupPanelsBackground;
|
||||
|
||||
skin.ApplyTo( yesButtonTransform.GetComponent<Button>() );
|
||||
skin.ApplyTo( noButtonTransform.GetComponent<Button>() );
|
||||
|
||||
for( int i = 0; i < titleLabels.Length; i++ )
|
||||
skin.ApplyTo( titleLabels[i], skin.PopupPanelsTextColor );
|
||||
|
||||
skin.ApplyTo( targetItemsRestLabel, skin.PopupPanelsTextColor );
|
||||
|
||||
for( int i = 0; i < targetItemNames.Length; i++ )
|
||||
skin.ApplyTo( targetItemNames[i], skin.PopupPanelsTextColor );
|
||||
|
||||
for( int i = 0; i < targetItems.Length; i++ )
|
||||
targetItems[i].GetComponent<LayoutElement>().preferredHeight = skin.FileHeight;
|
||||
}
|
||||
|
||||
public void YesButtonClicked()
|
||||
{
|
||||
gameObject.SetActive( false );
|
||||
|
||||
if( onOperationConfirmed != null )
|
||||
onOperationConfirmed();
|
||||
}
|
||||
|
||||
public void NoButtonClicked()
|
||||
{
|
||||
gameObject.SetActive( false );
|
||||
onOperationConfirmed = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 524a683efed82084b9a9c4a3eff23b73
|
||||
timeCreated: 1658958138
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,543 @@
|
||||
using System.IO;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
public struct FileSystemEntry
|
||||
{
|
||||
public readonly string Path;
|
||||
public readonly string Name;
|
||||
public readonly string Extension;
|
||||
public readonly FileAttributes Attributes;
|
||||
|
||||
public bool IsDirectory { get { return ( Attributes & FileAttributes.Directory ) == FileAttributes.Directory; } }
|
||||
|
||||
public FileSystemEntry( string path, string name, string extension, bool isDirectory )
|
||||
{
|
||||
Path = path;
|
||||
Name = name;
|
||||
Extension = extension;
|
||||
Attributes = isDirectory ? FileAttributes.Directory : FileAttributes.Normal;
|
||||
}
|
||||
|
||||
public FileSystemEntry( FileSystemInfo fileInfo, string extension )
|
||||
{
|
||||
Path = fileInfo.FullName;
|
||||
Name = fileInfo.Name;
|
||||
Extension = extension;
|
||||
Attributes = fileInfo.Attributes;
|
||||
}
|
||||
}
|
||||
|
||||
public static class FileBrowserHelpers
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
private static AndroidJavaClass m_ajc = null;
|
||||
public static AndroidJavaClass AJC
|
||||
{
|
||||
get
|
||||
{
|
||||
if( m_ajc == null )
|
||||
m_ajc = new AndroidJavaClass( "com.yasirkula.unity.FileBrowser" );
|
||||
|
||||
return m_ajc;
|
||||
}
|
||||
}
|
||||
|
||||
private static AndroidJavaObject m_context = null;
|
||||
public static AndroidJavaObject Context
|
||||
{
|
||||
get
|
||||
{
|
||||
if( m_context == null )
|
||||
{
|
||||
using( AndroidJavaObject unityClass = new AndroidJavaClass( "com.unity3d.player.UnityPlayer" ) )
|
||||
{
|
||||
m_context = unityClass.GetStatic<AndroidJavaObject>( "currentActivity" );
|
||||
}
|
||||
}
|
||||
|
||||
return m_context;
|
||||
}
|
||||
}
|
||||
|
||||
private static string m_temporaryFilePath = null;
|
||||
private static string TemporaryFilePath
|
||||
{
|
||||
get
|
||||
{
|
||||
if( m_temporaryFilePath == null )
|
||||
{
|
||||
m_temporaryFilePath = Path.Combine( Application.temporaryCachePath, "tmpFile" );
|
||||
Directory.CreateDirectory( Application.temporaryCachePath );
|
||||
}
|
||||
|
||||
return m_temporaryFilePath;
|
||||
}
|
||||
}
|
||||
|
||||
// On Android 10+, filesystem can be accessed via Storage Access Framework only
|
||||
private static bool? m_shouldUseSAF = null;
|
||||
public static bool ShouldUseSAF
|
||||
{
|
||||
get
|
||||
{
|
||||
if( m_shouldUseSAF == null )
|
||||
m_shouldUseSAF = AJC.CallStatic<bool>( "CheckSAF" );
|
||||
|
||||
return m_shouldUseSAF.Value;
|
||||
}
|
||||
}
|
||||
|
||||
public static bool ShouldUseSAFForPath( string path ) // true: path should be managed with AJC (native helper class for Storage Access Framework), false: path should be managed with System.IO
|
||||
{
|
||||
return ShouldUseSAF && ( string.IsNullOrEmpty( path ) || path[0] != '/' );
|
||||
}
|
||||
#endif
|
||||
|
||||
public static bool FileExists( string path )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return AJC.CallStatic<bool>( "SAFEntryExists", Context, path, false );
|
||||
#endif
|
||||
return File.Exists( path );
|
||||
}
|
||||
|
||||
public static bool DirectoryExists( string path )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return AJC.CallStatic<bool>( "SAFEntryExists", Context, path, true );
|
||||
else if( ShouldUseSAF ) // Directory.Exists returns true even for inaccessible directories on Android 10+, we need to check if the directory is accessible
|
||||
{
|
||||
try
|
||||
{
|
||||
Directory.GetFiles( path, "testtesttest" );
|
||||
return true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return Directory.Exists( path );
|
||||
}
|
||||
|
||||
public static bool IsDirectory( string path )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return AJC.CallStatic<bool>( "SAFEntryDirectory", Context, path );
|
||||
#endif
|
||||
if( Directory.Exists( path ) )
|
||||
return true;
|
||||
if( File.Exists( path ) )
|
||||
return false;
|
||||
|
||||
string extension = Path.GetExtension( path );
|
||||
return extension == null || extension.Length <= 1; // extension includes '.'
|
||||
}
|
||||
|
||||
public static bool IsPathDescendantOfAnother( string path, string parentFolderPath )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return AJC.CallStatic<bool>( "IsSAFEntryChildOfAnother", Context, path, parentFolderPath );
|
||||
#endif
|
||||
path = Path.GetFullPath( path ).Replace( '\\', '/' );
|
||||
parentFolderPath = Path.GetFullPath( parentFolderPath ).Replace( '\\', '/' );
|
||||
|
||||
if( path == parentFolderPath )
|
||||
return false;
|
||||
|
||||
if( parentFolderPath[parentFolderPath.Length - 1] != '/' )
|
||||
parentFolderPath += "/";
|
||||
|
||||
return path != parentFolderPath && path.StartsWith( parentFolderPath, System.StringComparison.OrdinalIgnoreCase );
|
||||
}
|
||||
|
||||
public static string GetDirectoryName( string path )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return AJC.CallStatic<string>( "GetParentDirectory", Context, path );
|
||||
#endif
|
||||
return Path.GetDirectoryName( path );
|
||||
}
|
||||
|
||||
public static FileSystemEntry[] GetEntriesInDirectory( string path, bool extractOnlyLastSuffixFromExtensions )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
{
|
||||
string resultRaw = AJC.CallStatic<string>( "OpenSAFFolder", Context, path );
|
||||
int separatorIndex = resultRaw.IndexOf( "<>" );
|
||||
if( separatorIndex <= 0 )
|
||||
{
|
||||
Debug.LogError( "Entry count does not exist" );
|
||||
return null;
|
||||
}
|
||||
|
||||
int entryCount = 0;
|
||||
for( int i = 0; i < separatorIndex; i++ )
|
||||
{
|
||||
char ch = resultRaw[i];
|
||||
if( ch < '0' && ch > '9' )
|
||||
{
|
||||
Debug.LogError( "Couldn't parse entry count" );
|
||||
return null;
|
||||
}
|
||||
|
||||
entryCount = entryCount * 10 + ( ch - '0' );
|
||||
}
|
||||
|
||||
if( entryCount <= 0 )
|
||||
return null;
|
||||
|
||||
FileSystemEntry[] result = new FileSystemEntry[entryCount];
|
||||
for( int i = 0; i < entryCount; i++ )
|
||||
{
|
||||
separatorIndex += 2;
|
||||
if( separatorIndex >= resultRaw.Length )
|
||||
{
|
||||
Debug.LogError( "Couldn't fetch directory attribute" );
|
||||
return null;
|
||||
}
|
||||
|
||||
bool isDirectory = resultRaw[separatorIndex] == 'd';
|
||||
|
||||
separatorIndex++;
|
||||
int nextSeparatorIndex = resultRaw.IndexOf( "<>", separatorIndex );
|
||||
if( nextSeparatorIndex <= 0 )
|
||||
{
|
||||
Debug.LogError( "Entry name is empty" );
|
||||
return null;
|
||||
}
|
||||
|
||||
string entryName = resultRaw.Substring( separatorIndex, nextSeparatorIndex - separatorIndex );
|
||||
|
||||
separatorIndex = nextSeparatorIndex + 2;
|
||||
nextSeparatorIndex = resultRaw.IndexOf( "<>", separatorIndex );
|
||||
if( nextSeparatorIndex <= 0 )
|
||||
{
|
||||
Debug.LogError( "Entry rawUri is empty" );
|
||||
return null;
|
||||
}
|
||||
|
||||
string rawUri = resultRaw.Substring( separatorIndex, nextSeparatorIndex - separatorIndex );
|
||||
|
||||
separatorIndex = nextSeparatorIndex;
|
||||
|
||||
result[i] = new FileSystemEntry( rawUri, entryName, isDirectory ? null : FileBrowser.GetExtensionFromFilename( entryName, extractOnlyLastSuffixFromExtensions ), isDirectory );
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
try
|
||||
{
|
||||
FileSystemInfo[] items = new DirectoryInfo( path ).GetFileSystemInfos();
|
||||
FileSystemEntry[] result = new FileSystemEntry[items.Length];
|
||||
int index = 0;
|
||||
for( int i = 0; i < items.Length; i++ )
|
||||
{
|
||||
try
|
||||
{
|
||||
result[index] = new FileSystemEntry( items[i], FileBrowser.GetExtensionFromFilename( items[i].Name, extractOnlyLastSuffixFromExtensions ) );
|
||||
index++;
|
||||
}
|
||||
catch( System.Exception e )
|
||||
{
|
||||
Debug.LogException( e );
|
||||
}
|
||||
}
|
||||
|
||||
if( result.Length != index )
|
||||
System.Array.Resize( ref result, index );
|
||||
|
||||
return result;
|
||||
}
|
||||
catch( System.UnauthorizedAccessException ) { }
|
||||
catch( System.Exception e )
|
||||
{
|
||||
Debug.LogException( e );
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static string CreateFileInDirectory( string directoryPath, string filename )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( directoryPath ) )
|
||||
return AJC.CallStatic<string>( "CreateSAFEntry", Context, directoryPath, false, filename );
|
||||
#endif
|
||||
|
||||
string path = Path.Combine( directoryPath, filename );
|
||||
using( File.Create( path ) ) { }
|
||||
return path;
|
||||
}
|
||||
|
||||
public static string CreateFolderInDirectory( string directoryPath, string folderName )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( directoryPath ) )
|
||||
return AJC.CallStatic<string>( "CreateSAFEntry", Context, directoryPath, true, folderName );
|
||||
#endif
|
||||
|
||||
string path = Path.Combine( directoryPath, folderName );
|
||||
Directory.CreateDirectory( path );
|
||||
return path;
|
||||
}
|
||||
|
||||
public static void WriteBytesToFile( string targetPath, byte[] bytes )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( targetPath ) )
|
||||
{
|
||||
File.WriteAllBytes( TemporaryFilePath, bytes );
|
||||
AJC.CallStatic( "WriteToSAFEntry", Context, targetPath, TemporaryFilePath, false );
|
||||
File.Delete( TemporaryFilePath );
|
||||
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
File.WriteAllBytes( targetPath, bytes );
|
||||
}
|
||||
|
||||
public static void WriteTextToFile( string targetPath, string text )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( targetPath ) )
|
||||
{
|
||||
File.WriteAllText( TemporaryFilePath, text );
|
||||
AJC.CallStatic( "WriteToSAFEntry", Context, targetPath, TemporaryFilePath, false );
|
||||
File.Delete( TemporaryFilePath );
|
||||
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
File.WriteAllText( targetPath, text );
|
||||
}
|
||||
|
||||
public static void AppendBytesToFile( string targetPath, byte[] bytes )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( targetPath ) )
|
||||
{
|
||||
File.WriteAllBytes( TemporaryFilePath, bytes );
|
||||
AJC.CallStatic( "WriteToSAFEntry", Context, targetPath, TemporaryFilePath, true );
|
||||
File.Delete( TemporaryFilePath );
|
||||
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
using( var stream = new FileStream( targetPath, FileMode.Append, FileAccess.Write ) )
|
||||
{
|
||||
stream.Write( bytes, 0, bytes.Length );
|
||||
}
|
||||
}
|
||||
|
||||
public static void AppendTextToFile( string targetPath, string text )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( targetPath ) )
|
||||
{
|
||||
File.WriteAllText( TemporaryFilePath, text );
|
||||
AJC.CallStatic( "WriteToSAFEntry", Context, targetPath, TemporaryFilePath, true );
|
||||
File.Delete( TemporaryFilePath );
|
||||
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
File.AppendAllText( targetPath, text );
|
||||
}
|
||||
|
||||
private static void AppendFileToFile( string targetPath, string sourceFileToAppend )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( targetPath ) )
|
||||
{
|
||||
AJC.CallStatic( "WriteToSAFEntry", Context, targetPath, sourceFileToAppend, true );
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
using( Stream input = File.OpenRead( sourceFileToAppend ) )
|
||||
using( Stream output = new FileStream( targetPath, FileMode.Append, FileAccess.Write ) )
|
||||
{
|
||||
byte[] buffer = new byte[4096];
|
||||
int bytesRead;
|
||||
while( ( bytesRead = input.Read( buffer, 0, buffer.Length ) ) > 0 )
|
||||
output.Write( buffer, 0, bytesRead );
|
||||
}
|
||||
}
|
||||
|
||||
public static byte[] ReadBytesFromFile( string sourcePath )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( sourcePath ) )
|
||||
{
|
||||
AJC.CallStatic( "ReadFromSAFEntry", Context, sourcePath, TemporaryFilePath );
|
||||
byte[] result = File.ReadAllBytes( TemporaryFilePath );
|
||||
File.Delete( TemporaryFilePath );
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
return File.ReadAllBytes( sourcePath );
|
||||
}
|
||||
|
||||
public static string ReadTextFromFile( string sourcePath )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( sourcePath ) )
|
||||
{
|
||||
AJC.CallStatic( "ReadFromSAFEntry", Context, sourcePath, TemporaryFilePath );
|
||||
string result = File.ReadAllText( TemporaryFilePath );
|
||||
File.Delete( TemporaryFilePath );
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
return File.ReadAllText( sourcePath );
|
||||
}
|
||||
|
||||
public static void CopyFile( string sourcePath, string destinationPath )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAF ) // No need to use ShouldUseSAFForPath because both SAF paths and raw file paths are handled on the native-side
|
||||
{
|
||||
AJC.CallStatic( "CopyFile", Context, sourcePath, destinationPath, false );
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
File.Copy( sourcePath, destinationPath, true );
|
||||
}
|
||||
|
||||
public static void CopyDirectory( string sourcePath, string destinationPath )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAF ) // No need to use ShouldUseSAFForPath because both SAF paths and raw directory paths are handled on the native-side
|
||||
{
|
||||
AJC.CallStatic( "CopyDirectory", Context, sourcePath, destinationPath, false );
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
CopyDirectoryRecursively( new DirectoryInfo( sourcePath ), destinationPath );
|
||||
}
|
||||
|
||||
private static void CopyDirectoryRecursively( DirectoryInfo sourceDirectory, string destinationPath )
|
||||
{
|
||||
Directory.CreateDirectory( destinationPath );
|
||||
|
||||
FileInfo[] files = sourceDirectory.GetFiles();
|
||||
for( int i = 0; i < files.Length; i++ )
|
||||
files[i].CopyTo( Path.Combine( destinationPath, files[i].Name ), true );
|
||||
|
||||
DirectoryInfo[] subDirectories = sourceDirectory.GetDirectories();
|
||||
for( int i = 0; i < subDirectories.Length; i++ )
|
||||
CopyDirectoryRecursively( subDirectories[i], Path.Combine( destinationPath, subDirectories[i].Name ) );
|
||||
}
|
||||
|
||||
public static void MoveFile( string sourcePath, string destinationPath )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAF ) // No need to use ShouldUseSAFForPath because both SAF paths and raw file paths are handled on the native-side
|
||||
{
|
||||
AJC.CallStatic( "CopyFile", Context, sourcePath, destinationPath, true );
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
File.Move( sourcePath, destinationPath );
|
||||
}
|
||||
|
||||
public static void MoveDirectory( string sourcePath, string destinationPath )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAF ) // No need to use ShouldUseSAFForPath because both SAF paths and raw directory paths are handled on the native-side
|
||||
{
|
||||
AJC.CallStatic( "CopyDirectory", Context, sourcePath, destinationPath, true );
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
Directory.Move( sourcePath, destinationPath );
|
||||
}
|
||||
|
||||
public static string RenameFile( string path, string newName )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return AJC.CallStatic<string>( "RenameSAFEntry", Context, path, newName );
|
||||
#endif
|
||||
string newPath = Path.Combine( Path.GetDirectoryName( path ), newName );
|
||||
File.Move( path, newPath );
|
||||
|
||||
return newPath;
|
||||
}
|
||||
|
||||
public static string RenameDirectory( string path, string newName )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return AJC.CallStatic<string>( "RenameSAFEntry", Context, path, newName );
|
||||
#endif
|
||||
string newPath = Path.Combine( new DirectoryInfo( path ).Parent.FullName, newName );
|
||||
Directory.Move( path, newPath );
|
||||
|
||||
return newPath;
|
||||
}
|
||||
|
||||
public static void DeleteFile( string path )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
{
|
||||
AJC.CallStatic<bool>( "DeleteSAFEntry", Context, path );
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
File.Delete( path );
|
||||
}
|
||||
|
||||
public static void DeleteDirectory( string path )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
{
|
||||
AJC.CallStatic<bool>( "DeleteSAFEntry", Context, path );
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
Directory.Delete( path, true );
|
||||
}
|
||||
|
||||
public static string GetFilename( string path )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return AJC.CallStatic<string>( "SAFEntryName", Context, path );
|
||||
#endif
|
||||
return Path.GetFileName( path );
|
||||
}
|
||||
|
||||
public static long GetFilesize( string path )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return AJC.CallStatic<long>( "SAFEntrySize", Context, path );
|
||||
#endif
|
||||
return new FileInfo( path ).Length;
|
||||
}
|
||||
|
||||
public static System.DateTime GetLastModifiedDate( string path )
|
||||
{
|
||||
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||
// Credit: https://stackoverflow.com/a/28504416/2373034
|
||||
if( ShouldUseSAFForPath( path ) )
|
||||
return new System.DateTime( 1970, 1, 1, 0, 0, 0 ).AddMilliseconds( AJC.CallStatic<long>( "SAFEntryLastModified", Context, path ) );
|
||||
#endif
|
||||
return new FileInfo( path ).LastWriteTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2370e7a82ec4087499ebf7efa149e9eb
|
||||
timeCreated: 1570919647
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,238 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace SimpleFileBrowser
|
||||
{
|
||||
public class FileBrowserItem : ListItem, IPointerClickHandler, IPointerDownHandler, IPointerUpHandler
|
||||
#if UNITY_EDITOR || ( !UNITY_ANDROID && !UNITY_IOS )
|
||||
, IPointerEnterHandler, IPointerExitHandler
|
||||
#endif
|
||||
{
|
||||
#region Constants
|
||||
private const float DOUBLE_CLICK_TIME = 0.5f;
|
||||
private const float TOGGLE_MULTI_SELECTION_HOLD_TIME = 0.5f;
|
||||
#endregion
|
||||
|
||||
#region Variables
|
||||
protected FileBrowser fileBrowser;
|
||||
|
||||
#pragma warning disable 0649
|
||||
[SerializeField]
|
||||
private Image background;
|
||||
|
||||
[SerializeField]
|
||||
private Image icon;
|
||||
public Image Icon { get { return icon; } }
|
||||
|
||||
[SerializeField]
|
||||
private Image multiSelectionToggle;
|
||||
|
||||
[SerializeField]
|
||||
private Text nameText;
|
||||
#pragma warning restore 0649
|
||||
|
||||
#pragma warning disable 0414
|
||||
private bool isSelected, isHidden;
|
||||
#pragma warning restore 0414
|
||||
|
||||
private UISkin skin;
|
||||
|
||||
private float pressTime = Mathf.Infinity;
|
||||
private float prevClickTime;
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
private RectTransform m_transform;
|
||||
public RectTransform TransformComponent
|
||||
{
|
||||
get
|
||||
{
|
||||
if( m_transform == null )
|
||||
m_transform = (RectTransform) transform;
|
||||
|
||||
return m_transform;
|
||||
}
|
||||
}
|
||||
|
||||
public string Name { get { return nameText.text; } }
|
||||
public bool IsDirectory { get; private set; }
|
||||
#endregion
|
||||
|
||||
#region Initialization Functions
|
||||
public void SetFileBrowser( FileBrowser fileBrowser, UISkin skin )
|
||||
{
|
||||
this.fileBrowser = fileBrowser;
|
||||
OnSkinRefreshed( skin, false );
|
||||
}
|
||||
|
||||
public void SetFile( Sprite icon, string name, bool isDirectory )
|
||||
{
|
||||
this.icon.sprite = icon;
|
||||
nameText.text = name;
|
||||
|
||||
IsDirectory = isDirectory;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Messages
|
||||
private void Update()
|
||||
{
|
||||
if( fileBrowser.AllowMultiSelection && Time.realtimeSinceStartup - pressTime >= TOGGLE_MULTI_SELECTION_HOLD_TIME )
|
||||
{
|
||||
// Item is held for a while
|
||||
pressTime = Mathf.Infinity;
|
||||
fileBrowser.OnItemHeld( this );
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Pointer Events
|
||||
public void OnPointerClick( PointerEventData eventData )
|
||||
{
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WEBGL || UNITY_WSA || UNITY_WSA_10_0
|
||||
if( eventData.button == PointerEventData.InputButton.Middle )
|
||||
return;
|
||||
else if( eventData.button == PointerEventData.InputButton.Right )
|
||||
{
|
||||
// First, select the item
|
||||
if( !isSelected )
|
||||
{
|
||||
prevClickTime = 0f;
|
||||
fileBrowser.OnItemSelected( this, false );
|
||||
}
|
||||
|
||||
// Then, show the context menu
|
||||
fileBrowser.OnContextMenuTriggered( eventData.position );
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
if( Time.realtimeSinceStartup - prevClickTime < DOUBLE_CLICK_TIME )
|
||||
{
|
||||
prevClickTime = 0f;
|
||||
fileBrowser.OnItemSelected( this, true );
|
||||
}
|
||||
else
|
||||
{
|
||||
prevClickTime = Time.realtimeSinceStartup;
|
||||
fileBrowser.OnItemSelected( this, false );
|
||||
}
|
||||
}
|
||||
|
||||
public void OnPointerDown( PointerEventData eventData )
|
||||
{
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WEBGL || UNITY_WSA || UNITY_WSA_10_0
|
||||
if( eventData.button != PointerEventData.InputButton.Left )
|
||||
return;
|
||||
#endif
|
||||
|
||||
pressTime = Time.realtimeSinceStartup;
|
||||
}
|
||||
|
||||
public void OnPointerUp( PointerEventData eventData )
|
||||
{
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WEBGL || UNITY_WSA || UNITY_WSA_10_0
|
||||
if( eventData.button != PointerEventData.InputButton.Left )
|
||||
return;
|
||||
#endif
|
||||
|
||||
if( pressTime != Mathf.Infinity )
|
||||
pressTime = Mathf.Infinity;
|
||||
else if( fileBrowser.MultiSelectionToggleSelectionMode )
|
||||
{
|
||||
// We have activated MultiSelectionToggleSelectionMode with this press, processing the click would result in
|
||||
// deselecting this item since its selected state would be toggled
|
||||
eventData.eligibleForClick = false;
|
||||
}
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR || ( !UNITY_ANDROID && !UNITY_IOS )
|
||||
public void OnPointerEnter( PointerEventData eventData )
|
||||
{
|
||||
if( !isSelected )
|
||||
background.color = skin.FileHoveredBackgroundColor;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if UNITY_EDITOR || ( !UNITY_ANDROID && !UNITY_IOS )
|
||||
public void OnPointerExit( PointerEventData eventData )
|
||||
{
|
||||
if( !isSelected )
|
||||
background.color = ( Position % 2 ) == 0 ? skin.FileNormalBackgroundColor : skin.FileAlternatingBackgroundColor;
|
||||
}
|
||||
#endif
|
||||
#endregion
|
||||
|
||||
#region Other Events
|
||||
public void SetSelected( bool isSelected )
|
||||
{
|
||||
this.isSelected = isSelected;
|
||||
|
||||
background.color = isSelected ? skin.FileSelectedBackgroundColor : ( ( Position % 2 ) == 0 ? skin.FileNormalBackgroundColor : skin.FileAlternatingBackgroundColor );
|
||||
nameText.color = isSelected ? skin.FileSelectedTextColor : skin.FileNormalTextColor;
|
||||
|
||||
if( isHidden )
|
||||
{
|
||||
Color c = nameText.color;
|
||||
c.a = 0.55f;
|
||||
nameText.color = c;
|
||||
}
|
||||
|
||||
if( multiSelectionToggle ) // Quick links don't have multi-selection toggle
|
||||
{
|
||||
// Don't show multi-selection toggle for folders in file selection mode
|
||||
if( fileBrowser.MultiSelectionToggleSelectionMode && ( !IsDirectory || fileBrowser.PickerMode != FileBrowser.PickMode.Files ) )
|
||||
{
|
||||
if( !multiSelectionToggle.gameObject.activeSelf )
|
||||
{
|
||||
multiSelectionToggle.gameObject.SetActive( true );
|
||||
|
||||
Vector2 shiftAmount = new Vector2( multiSelectionToggle.rectTransform.sizeDelta.x, 0f );
|
||||
icon.rectTransform.anchoredPosition += shiftAmount;
|
||||
nameText.rectTransform.anchoredPosition += shiftAmount;
|
||||
}
|
||||
|
||||
multiSelectionToggle.sprite = isSelected ? skin.FileMultiSelectionToggleOnIcon : skin.FileMultiSelectionToggleOffIcon;
|
||||
}
|
||||
else if( multiSelectionToggle.gameObject.activeSelf )
|
||||
{
|
||||
multiSelectionToggle.gameObject.SetActive( false );
|
||||
|
||||
Vector2 shiftAmount = new Vector2( -multiSelectionToggle.rectTransform.sizeDelta.x, 0f );
|
||||
icon.rectTransform.anchoredPosition += shiftAmount;
|
||||
nameText.rectTransform.anchoredPosition += shiftAmount;
|
||||
|
||||
// Clicking a file shortly after disabling MultiSelectionToggleSelectionMode does nothing, this workaround fixes that issue
|
||||
prevClickTime = 0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void SetHidden( bool isHidden )
|
||||
{
|
||||
this.isHidden = isHidden;
|
||||
|
||||
Color c = icon.color;
|
||||
c.a = isHidden ? 0.5f : 1f;
|
||||
icon.color = c;
|
||||
|
||||
c = nameText.color;
|
||||
c.a = isHidden ? 0.55f : ( isSelected ? skin.FileSelectedTextColor.a : skin.FileNormalTextColor.a );
|
||||
nameText.color = c;
|
||||
}
|
||||
|
||||
public void OnSkinRefreshed( UISkin skin, bool isInitialized = true )
|
||||
{
|
||||
this.skin = skin;
|
||||
|
||||
TransformComponent.sizeDelta = new Vector2( TransformComponent.sizeDelta.x, skin.FileHeight );
|
||||
skin.ApplyTo( nameText, isSelected ? skin.FileSelectedTextColor : skin.FileNormalTextColor );
|
||||
icon.rectTransform.sizeDelta = new Vector2( icon.rectTransform.sizeDelta.x, -skin.FileIconsPadding );
|
||||
|
||||
if( isInitialized )
|
||||
SetSelected( isSelected );
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Loaded 100 of 1743 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user