Compare commits
No commits in common. "8fe04b974aa25368b2ec2482875289494d3002b9" and "842331feb2e41dc44f4dca0bdc8322bb3e982820" have entirely different histories.
8fe04b974a
...
842331feb2
@ -7,7 +7,7 @@ charset = utf-8
|
|||||||
indent_style = space
|
indent_style = space
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
|
|
||||||
[*.asmdef]
|
[*.{json,jsonc,asmdef}]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
@ -28,11 +28,6 @@ indent_style = tab
|
|||||||
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
|
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
[*.{json,jsonc}]
|
|
||||||
indent_size = 2
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
insert_final_newline = true
|
|
||||||
|
|
||||||
[*.builds]
|
[*.builds]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
168
.github/workflows/ci.yml
vendored
@ -2,20 +2,16 @@ name: "ci"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [develop, staging, main]
|
branches: [develop]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [develop, staging, main]
|
branches: [develop, staging, main]
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-commit:
|
lint-commit:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v4.2.2"
|
- uses: "actions/checkout@v4.2.2"
|
||||||
- uses: "wagoid/commitlint-github-action@v6.2.1"
|
- uses: "wagoid/commitlint-github-action@v6.1.2"
|
||||||
|
|
||||||
lint-editorconfig-checker:
|
lint-editorconfig-checker:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
@ -24,80 +20,38 @@ jobs:
|
|||||||
- uses: "editorconfig-checker/action-editorconfig-checker@main"
|
- uses: "editorconfig-checker/action-editorconfig-checker@main"
|
||||||
- run: "editorconfig-checker"
|
- run: "editorconfig-checker"
|
||||||
|
|
||||||
build-windows:
|
# test:
|
||||||
|
# permissions:
|
||||||
|
# checks: "write"
|
||||||
|
# runs-on: "ubuntu-latest"
|
||||||
|
# steps:
|
||||||
|
# - uses: "actions/checkout@v4.2.2"
|
||||||
|
# with:
|
||||||
|
# lfs: true
|
||||||
|
|
||||||
|
# - uses: "actions/cache@v4.2.0"
|
||||||
|
# with:
|
||||||
|
# path: "Library"
|
||||||
|
# key: "Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}"
|
||||||
|
# restore-keys: |
|
||||||
|
# "Library-"
|
||||||
|
|
||||||
|
# - uses: "game-ci/unity-test-runner@v4.3.1"
|
||||||
|
# env:
|
||||||
|
# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
|
# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||||
|
# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||||
|
# with:
|
||||||
|
# githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
outputs:
|
|
||||||
build-path: ${{ steps.upload.outputs.path }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v4.2.2"
|
- uses: "actions/checkout@v4.2.2"
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- uses: "actions/cache@v4.2.3"
|
- uses: "actions/cache@v4.2.0"
|
||||||
with:
|
|
||||||
path: "Library"
|
|
||||||
key: "Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}"
|
|
||||||
restore-keys: |
|
|
||||||
"Library-"
|
|
||||||
|
|
||||||
- uses: "game-ci/unity-builder@v4.3.0"
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
|
||||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
|
||||||
with:
|
|
||||||
targetPlatform: "StandaloneWindows64"
|
|
||||||
|
|
||||||
- name: Upload Windows Build Artifact
|
|
||||||
id: upload
|
|
||||||
if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main'
|
|
||||||
uses: actions/upload-artifact@v4.4.3
|
|
||||||
with:
|
|
||||||
name: build-windows
|
|
||||||
path: build/
|
|
||||||
|
|
||||||
build-macos:
|
|
||||||
runs-on: "ubuntu-latest"
|
|
||||||
outputs:
|
|
||||||
build-path: ${{ steps.upload.outputs.path }}
|
|
||||||
steps:
|
|
||||||
- uses: "actions/checkout@v4.2.2"
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
|
|
||||||
- uses: "actions/cache@v4.2.3"
|
|
||||||
with:
|
|
||||||
path: "Library"
|
|
||||||
key: "Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}"
|
|
||||||
restore-keys: |
|
|
||||||
"Library-"
|
|
||||||
|
|
||||||
- uses: "game-ci/unity-builder@v4.3.0"
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
|
||||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
|
||||||
with:
|
|
||||||
targetPlatform: "StandaloneOSX"
|
|
||||||
|
|
||||||
- name: Upload macOS Build Artifact
|
|
||||||
id: upload
|
|
||||||
if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main'
|
|
||||||
uses: actions/upload-artifact@v4.3.0
|
|
||||||
with:
|
|
||||||
name: build-macos
|
|
||||||
path: build/
|
|
||||||
|
|
||||||
build-linux:
|
|
||||||
runs-on: "ubuntu-latest"
|
|
||||||
outputs:
|
|
||||||
build-path: ${{ steps.upload.outputs.path }}
|
|
||||||
steps:
|
|
||||||
- uses: "actions/checkout@v4.2.2"
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
|
|
||||||
- uses: "actions/cache@v4.2.3"
|
|
||||||
with:
|
with:
|
||||||
path: "Library"
|
path: "Library"
|
||||||
key: "Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}"
|
key: "Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}"
|
||||||
@ -112,65 +66,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
targetPlatform: "StandaloneLinux64"
|
targetPlatform: "StandaloneLinux64"
|
||||||
|
|
||||||
- name: Upload Linux Build Artifact
|
# - uses: "actions/upload-artifact@v4.4.3"
|
||||||
id: upload
|
# with:
|
||||||
if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main'
|
# name: "Build"
|
||||||
uses: actions/upload-artifact@v4.6.2
|
# path: "build"
|
||||||
with:
|
|
||||||
name: build-linux
|
|
||||||
path: build/
|
|
||||||
|
|
||||||
create-release:
|
|
||||||
needs: [build-windows, build-macos, build-linux]
|
|
||||||
if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Get version from commit message
|
|
||||||
id: get_version
|
|
||||||
run: |
|
|
||||||
COMMIT_MESSAGE="${{ github.event.head_commit.message }}"
|
|
||||||
# Extract the version number after "chore(release): "
|
|
||||||
VERSION=$(echo "$COMMIT_MESSAGE" | sed -n 's/^chore(release): \(v[0-9]*\.[0-9]*\.[0-9]*[-a-zA-Z0-9.]*\).*$/\1/p')
|
|
||||||
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Download Windows Build Artifact
|
|
||||||
uses: actions/download-artifact@v4.3.0
|
|
||||||
with:
|
|
||||||
name: build-windows
|
|
||||||
path: build/windows
|
|
||||||
|
|
||||||
- name: Download macOS Build Artifact
|
|
||||||
uses: actions/download-artifact@v4.3.0
|
|
||||||
with:
|
|
||||||
name: build-macos
|
|
||||||
path: build/macos
|
|
||||||
|
|
||||||
- name: Download Linux Build Artifact
|
|
||||||
uses: actions/download-artifact@v4.3.0
|
|
||||||
with:
|
|
||||||
name: build-linux
|
|
||||||
path: build/linux
|
|
||||||
|
|
||||||
- name: Zip Builds
|
|
||||||
run: |
|
|
||||||
cd build/windows
|
|
||||||
zip -r ../windows.zip .
|
|
||||||
cd ../macos
|
|
||||||
zip -r ../macos.zip .
|
|
||||||
cd ../linux
|
|
||||||
zip -r ../linux.zip .
|
|
||||||
|
|
||||||
- name: Create GitHub Release
|
|
||||||
id: create_release
|
|
||||||
uses: softprops/action-gh-release@v2.2.2
|
|
||||||
with:
|
|
||||||
tag_name: ${{ steps.get_version.outputs.version }}
|
|
||||||
name: ${{ steps.get_version.outputs.version }}
|
|
||||||
body: |
|
|
||||||
🎮 Automatic ${{ github.ref == 'refs/heads/main' && 'Production' || 'Pre-release' }} build
|
|
||||||
prerelease: ${{ github.ref != 'refs/heads/main' }}
|
|
||||||
files: |
|
|
||||||
build/windows.zip
|
|
||||||
build/macos.zip
|
|
||||||
build/linux.zip
|
|
||||||
|
@ -97,7 +97,7 @@ TextureImporter:
|
|||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 4
|
- serializedVersion: 4
|
||||||
buildTarget: Android
|
buildTarget: WebGL
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
textureFormat: -1
|
textureFormat: -1
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: e0426acdd6d763946bab617252a0f5aa
|
guid: b51d2de513d090b4485816dbca782498
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable:
|
internalIDToNameTable:
|
||||||
- first:
|
- first:
|
||||||
213: 1925945982471551178
|
213: 6385790085498839582
|
||||||
second: BlankSquare 1_0
|
second: BlankSquare_0
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 13
|
serializedVersion: 13
|
||||||
mipmaps:
|
mipmaps:
|
||||||
@ -96,11 +96,24 @@ TextureImporter:
|
|||||||
ignorePlatformSupport: 0
|
ignorePlatformSupport: 0
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
spriteSheet:
|
spriteSheet:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
sprites:
|
sprites:
|
||||||
- serializedVersion: 2
|
- serializedVersion: 2
|
||||||
name: BlankSquare 1_0
|
name: BlankSquare_0
|
||||||
rect:
|
rect:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
@ -115,8 +128,8 @@ TextureImporter:
|
|||||||
physicsShape: []
|
physicsShape: []
|
||||||
tessellationDetail: -1
|
tessellationDetail: -1
|
||||||
bones: []
|
bones: []
|
||||||
spriteID: ac8becdbaa55aba10800000000000000
|
spriteID: e12ae58df32ee9850800000000000000
|
||||||
internalID: 1925945982471551178
|
internalID: 6385790085498839582
|
||||||
vertices: []
|
vertices: []
|
||||||
indices:
|
indices:
|
||||||
edges: []
|
edges: []
|
||||||
@ -135,7 +148,7 @@ TextureImporter:
|
|||||||
spriteCustomMetadata:
|
spriteCustomMetadata:
|
||||||
entries: []
|
entries: []
|
||||||
nameFileIdTable:
|
nameFileIdTable:
|
||||||
BlankSquare 1_0: 1925945982471551178
|
BlankSquare_0: 6385790085498839582
|
||||||
mipmapLimitGroupName:
|
mipmapLimitGroupName:
|
||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
userData:
|
userData:
|
||||||
|
Before Width: | Height: | Size: 115 KiB |
@ -1,156 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: fa5971280ed90e04cafadbd76400bed2
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable:
|
|
||||||
- first:
|
|
||||||
213: 6385790085498839582
|
|
||||||
second: BlankSquare_0
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
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
|
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
|
||||||
streamingMipmaps: 0
|
|
||||||
streamingMipmapsPriority: 0
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMipmapLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 1
|
|
||||||
wrapV: 1
|
|
||||||
wrapW: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 2
|
|
||||||
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: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 8
|
|
||||||
textureShape: 1
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
|
||||||
platformSettings:
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: DefaultTexturePlatform
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: WebGL
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites:
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: BlankSquare_0
|
|
||||||
rect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 512
|
|
||||||
height: 512
|
|
||||||
alignment: 0
|
|
||||||
pivot: {x: 0, y: 0}
|
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
customData:
|
|
||||||
outline: []
|
|
||||||
physicsShape: []
|
|
||||||
tessellationDetail: -1
|
|
||||||
bones: []
|
|
||||||
spriteID: e12ae58df32ee9850800000000000000
|
|
||||||
internalID: 6385790085498839582
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
outline: []
|
|
||||||
customData:
|
|
||||||
physicsShape: []
|
|
||||||
bones: []
|
|
||||||
spriteID:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
spriteCustomMetadata:
|
|
||||||
entries: []
|
|
||||||
nameFileIdTable:
|
|
||||||
BlankSquare_0: 6385790085498839582
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Before Width: | Height: | Size: 13 KiB |
@ -1,156 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ada92be653a1d184391ae7f1f61e32bb
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable:
|
|
||||||
- first:
|
|
||||||
213: 4829622404114481491
|
|
||||||
second: NewLevelButton 1_0
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
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
|
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
|
||||||
streamingMipmaps: 0
|
|
||||||
streamingMipmapsPriority: 0
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMipmapLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 1
|
|
||||||
wrapV: 1
|
|
||||||
wrapW: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 2
|
|
||||||
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: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 8
|
|
||||||
textureShape: 1
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
|
||||||
platformSettings:
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: DefaultTexturePlatform
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites:
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: NewLevelButton 1_0
|
|
||||||
rect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 15
|
|
||||||
y: 14
|
|
||||||
width: 483
|
|
||||||
height: 483
|
|
||||||
alignment: 0
|
|
||||||
pivot: {x: 0, y: 0}
|
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
customData:
|
|
||||||
outline: []
|
|
||||||
physicsShape: []
|
|
||||||
tessellationDetail: -1
|
|
||||||
bones: []
|
|
||||||
spriteID: 3510384fcf3460340800000000000000
|
|
||||||
internalID: 4829622404114481491
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
outline: []
|
|
||||||
customData:
|
|
||||||
physicsShape: []
|
|
||||||
bones: []
|
|
||||||
spriteID:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
spriteCustomMetadata:
|
|
||||||
entries: []
|
|
||||||
nameFileIdTable:
|
|
||||||
NewLevelButton 1_0: 4829622404114481491
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Before Width: | Height: | Size: 266 KiB |
@ -1,156 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: afd28cff37c57da4090ac3ddfdb8ee28
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable:
|
|
||||||
- first:
|
|
||||||
213: -4781373940957465942
|
|
||||||
second: exit_0
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
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
|
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
|
||||||
streamingMipmaps: 0
|
|
||||||
streamingMipmapsPriority: 0
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMipmapLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 1
|
|
||||||
wrapV: 1
|
|
||||||
wrapW: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 2
|
|
||||||
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: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 8
|
|
||||||
textureShape: 1
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
|
||||||
platformSettings:
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: DefaultTexturePlatform
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: WebGL
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites:
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: exit_0
|
|
||||||
rect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 31
|
|
||||||
y: 31
|
|
||||||
width: 298
|
|
||||||
height: 298
|
|
||||||
alignment: 0
|
|
||||||
pivot: {x: 0, y: 0}
|
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
customData:
|
|
||||||
outline: []
|
|
||||||
physicsShape: []
|
|
||||||
tessellationDetail: -1
|
|
||||||
bones: []
|
|
||||||
spriteID: aa2bbe6cbb525adb0800000000000000
|
|
||||||
internalID: -4781373940957465942
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
outline: []
|
|
||||||
customData:
|
|
||||||
physicsShape: []
|
|
||||||
bones: []
|
|
||||||
spriteID:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
spriteCustomMetadata:
|
|
||||||
entries: []
|
|
||||||
nameFileIdTable:
|
|
||||||
exit_0: -4781373940957465942
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Before Width: | Height: | Size: 33 KiB |
@ -1,156 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f34830d17508a4b478c164611c202e12
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable:
|
|
||||||
- first:
|
|
||||||
213: 229215520534054086
|
|
||||||
second: RegularBlock01_0
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
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
|
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
|
||||||
streamingMipmaps: 0
|
|
||||||
streamingMipmapsPriority: 0
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMipmapLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 1
|
|
||||||
wrapV: 1
|
|
||||||
wrapW: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 2
|
|
||||||
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: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 8
|
|
||||||
textureShape: 1
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
|
||||||
platformSettings:
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: DefaultTexturePlatform
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: WebGL
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites:
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: RegularBlock01_0
|
|
||||||
rect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 122
|
|
||||||
height: 122
|
|
||||||
alignment: 0
|
|
||||||
pivot: {x: 0, y: 0}
|
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
customData:
|
|
||||||
outline: []
|
|
||||||
physicsShape: []
|
|
||||||
tessellationDetail: -1
|
|
||||||
bones: []
|
|
||||||
spriteID: 6c4407e2d465e2300800000000000000
|
|
||||||
internalID: 229215520534054086
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
outline: []
|
|
||||||
customData:
|
|
||||||
physicsShape: []
|
|
||||||
bones: []
|
|
||||||
spriteID:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
spriteCustomMetadata:
|
|
||||||
entries: []
|
|
||||||
nameFileIdTable:
|
|
||||||
RegularBlock01_0: 229215520534054086
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 1b21bd4ccae70934eb86a3a2a6928e98
|
guid: 1d7f8c8f8305efa4c8b78f4dd391c49b
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable:
|
internalIDToNameTable:
|
||||||
- first:
|
- first:
|
||||||
|
Before Width: | Height: | Size: 14 KiB |
@ -1,156 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7fe0358ef92ff8a449d0bee123119795
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable:
|
|
||||||
- first:
|
|
||||||
213: 2079131731516339571
|
|
||||||
second: SaveButton_0
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
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
|
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
|
||||||
streamingMipmaps: 0
|
|
||||||
streamingMipmapsPriority: 0
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMipmapLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 1
|
|
||||||
wrapV: 1
|
|
||||||
wrapW: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 2
|
|
||||||
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: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 8
|
|
||||||
textureShape: 1
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
|
||||||
platformSettings:
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: DefaultTexturePlatform
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: WebGL
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites:
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: SaveButton_0
|
|
||||||
rect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 980
|
|
||||||
height: 982
|
|
||||||
alignment: 0
|
|
||||||
pivot: {x: 0, y: 0}
|
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
customData:
|
|
||||||
outline: []
|
|
||||||
physicsShape: []
|
|
||||||
tessellationDetail: -1
|
|
||||||
bones: []
|
|
||||||
spriteID: 375364a4b4f8adc10800000000000000
|
|
||||||
internalID: 2079131731516339571
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
outline: []
|
|
||||||
customData:
|
|
||||||
physicsShape: []
|
|
||||||
bones: []
|
|
||||||
spriteID:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
spriteCustomMetadata:
|
|
||||||
entries: []
|
|
||||||
nameFileIdTable:
|
|
||||||
SaveButton_0: 2079131731516339571
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: bcd6c4da7709ff9458a5784f7f807e30
|
guid: 7bbd15eb9b940f4c59561753a3d516ce
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable:
|
internalIDToNameTable:
|
||||||
- first:
|
- first:
|
||||||
|
Before Width: | Height: | Size: 56 KiB |
@ -1,156 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6b64c942662170e44b2f80d605a405f4
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable:
|
|
||||||
- first:
|
|
||||||
213: -2073137460773038770
|
|
||||||
second: PauseIcon_0
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
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
|
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
|
||||||
streamingMipmaps: 0
|
|
||||||
streamingMipmapsPriority: 0
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMipmapLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 1
|
|
||||||
wrapV: 1
|
|
||||||
wrapW: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 2
|
|
||||||
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: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 8
|
|
||||||
textureShape: 1
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
|
||||||
platformSettings:
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: DefaultTexturePlatform
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: WebGL
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites:
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: PauseIcon_0
|
|
||||||
rect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 17
|
|
||||||
y: 19
|
|
||||||
width: 239
|
|
||||||
height: 218
|
|
||||||
alignment: 0
|
|
||||||
pivot: {x: 0, y: 0}
|
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
customData:
|
|
||||||
outline: []
|
|
||||||
physicsShape: []
|
|
||||||
tessellationDetail: -1
|
|
||||||
bones: []
|
|
||||||
spriteID: e455110a67cba33e0800000000000000
|
|
||||||
internalID: -2073137460773038770
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
outline: []
|
|
||||||
customData:
|
|
||||||
physicsShape: []
|
|
||||||
bones: []
|
|
||||||
spriteID:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
spriteCustomMetadata:
|
|
||||||
entries: []
|
|
||||||
nameFileIdTable:
|
|
||||||
PauseIcon_0: -2073137460773038770
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -97,7 +97,7 @@ TextureImporter:
|
|||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 4
|
- serializedVersion: 4
|
||||||
buildTarget: Android
|
buildTarget: WebGL
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
textureFormat: -1
|
textureFormat: -1
|
||||||
|
@ -97,7 +97,7 @@ TextureImporter:
|
|||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 4
|
- serializedVersion: 4
|
||||||
buildTarget: Android
|
buildTarget: WebGL
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
textureFormat: -1
|
textureFormat: -1
|
||||||
|
Before Width: | Height: | Size: 16 KiB |
@ -1,156 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 79b56765ff1452848bd947d19c642244
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable:
|
|
||||||
- first:
|
|
||||||
213: -6564193165698205349
|
|
||||||
second: Remove_0
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
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
|
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
|
||||||
streamingMipmaps: 0
|
|
||||||
streamingMipmapsPriority: 0
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMipmapLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 1
|
|
||||||
wrapV: 1
|
|
||||||
wrapW: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 2
|
|
||||||
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: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 8
|
|
||||||
textureShape: 1
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
|
||||||
platformSettings:
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: DefaultTexturePlatform
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites:
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: Remove_0
|
|
||||||
rect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 512
|
|
||||||
height: 512
|
|
||||||
alignment: 0
|
|
||||||
pivot: {x: 0, y: 0}
|
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
customData:
|
|
||||||
outline: []
|
|
||||||
physicsShape: []
|
|
||||||
tessellationDetail: -1
|
|
||||||
bones: []
|
|
||||||
spriteID: b59f289281d47e4a0800000000000000
|
|
||||||
internalID: -6564193165698205349
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
outline: []
|
|
||||||
customData:
|
|
||||||
physicsShape: []
|
|
||||||
bones: []
|
|
||||||
spriteID:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
spriteCustomMetadata:
|
|
||||||
entries: []
|
|
||||||
nameFileIdTable:
|
|
||||||
Remove_0: -6564193165698205349
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Before Width: | Height: | Size: 1.4 MiB |
@ -1,155 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7941bec4ab82ba5f8a978cf1b4d91010
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable:
|
|
||||||
- first:
|
|
||||||
213: 1404028623067837608
|
|
||||||
second: Logo_0
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
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
|
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
|
||||||
streamingMipmaps: 0
|
|
||||||
streamingMipmapsPriority: 0
|
|
||||||
vTOnly: 0
|
|
||||||
ignoreMipmapLimit: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 6
|
|
||||||
cubemapConvolution: 0
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: 1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
filterMode: 1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: 0
|
|
||||||
wrapU: 1
|
|
||||||
wrapV: 1
|
|
||||||
wrapW: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 2
|
|
||||||
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: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 8
|
|
||||||
textureShape: 1
|
|
||||||
singleChannelComponent: 0
|
|
||||||
flipbookRows: 1
|
|
||||||
flipbookColumns: 1
|
|
||||||
maxTextureSizeSet: 0
|
|
||||||
compressionQualitySet: 0
|
|
||||||
textureFormatSet: 0
|
|
||||||
ignorePngGamma: 0
|
|
||||||
applyGammaDecoding: 0
|
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
|
||||||
platformSettings:
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: DefaultTexturePlatform
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Standalone
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: Android
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites:
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: Logo_0
|
|
||||||
rect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1024
|
|
||||||
height: 1024
|
|
||||||
alignment: 0
|
|
||||||
pivot: {x: 0, y: 0}
|
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
customData:
|
|
||||||
outline: []
|
|
||||||
physicsShape: []
|
|
||||||
tessellationDetail: -1
|
|
||||||
bones: []
|
|
||||||
spriteID: 8a47074089c1c7310800000000000000
|
|
||||||
internalID: 1404028623067837608
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
outline: []
|
|
||||||
customData:
|
|
||||||
physicsShape: []
|
|
||||||
bones: []
|
|
||||||
spriteID:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
spriteCustomMetadata:
|
|
||||||
entries: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -306,9 +306,6 @@ GameObject:
|
|||||||
- component: {fileID: 678214373}
|
- component: {fileID: 678214373}
|
||||||
- component: {fileID: 678214375}
|
- component: {fileID: 678214375}
|
||||||
- component: {fileID: 678214374}
|
- component: {fileID: 678214374}
|
||||||
- component: {fileID: 678214377}
|
|
||||||
- component: {fileID: 678214376}
|
|
||||||
- component: {fileID: 678214378}
|
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Save
|
m_Name: Save
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -373,90 +370,6 @@ CanvasRenderer:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 678214372}
|
m_GameObject: {fileID: 678214372}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
--- !u!114 &678214376
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 678214372}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Navigation:
|
|
||||||
m_Mode: 3
|
|
||||||
m_WrapAround: 0
|
|
||||||
m_SelectOnUp: {fileID: 0}
|
|
||||||
m_SelectOnDown: {fileID: 0}
|
|
||||||
m_SelectOnLeft: {fileID: 0}
|
|
||||||
m_SelectOnRight: {fileID: 0}
|
|
||||||
m_Transition: 1
|
|
||||||
m_Colors:
|
|
||||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
|
||||||
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
|
||||||
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
|
||||||
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
|
||||||
m_ColorMultiplier: 1
|
|
||||||
m_FadeDuration: 0.1
|
|
||||||
m_SpriteState:
|
|
||||||
m_HighlightedSprite: {fileID: 0}
|
|
||||||
m_PressedSprite: {fileID: 0}
|
|
||||||
m_SelectedSprite: {fileID: 0}
|
|
||||||
m_DisabledSprite: {fileID: 0}
|
|
||||||
m_AnimationTriggers:
|
|
||||||
m_NormalTrigger: Normal
|
|
||||||
m_HighlightedTrigger: Highlighted
|
|
||||||
m_PressedTrigger: Pressed
|
|
||||||
m_SelectedTrigger: Selected
|
|
||||||
m_DisabledTrigger: Disabled
|
|
||||||
m_Interactable: 1
|
|
||||||
m_TargetGraphic: {fileID: 678214374}
|
|
||||||
m_OnClick:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls:
|
|
||||||
- m_Target: {fileID: 678214377}
|
|
||||||
m_TargetAssemblyTypeName: JSONExporter, Assembly-CSharp
|
|
||||||
m_MethodName: ExportJSON
|
|
||||||
m_Mode: 1
|
|
||||||
m_Arguments:
|
|
||||||
m_ObjectArgument: {fileID: 0}
|
|
||||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
|
||||||
m_IntArgument: 0
|
|
||||||
m_FloatArgument: 0
|
|
||||||
m_StringArgument:
|
|
||||||
m_BoolArgument: 0
|
|
||||||
m_CallState: 2
|
|
||||||
--- !u!114 &678214377
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 678214372}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: d3227fe18f4441647bdd19d3131efa02, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
editor: {fileID: 0}
|
|
||||||
--- !u!114 &678214378
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 678214372}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: f5bf592d3d8430744a08058675701934, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
mapParent: {fileID: 0}
|
|
||||||
blockGroupContainer: {fileID: 394350961}
|
|
||||||
buttonPrefabTemplate: {fileID: 1993500743}
|
|
||||||
--- !u!1 &739948034
|
--- !u!1 &739948034
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: bdddba7e4ac5baa4e833a5e67122d0d3
|
guid: 73b983a44d701df4bb6d8ceb94e05a2b
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
|
@ -859,7 +859,7 @@ MonoBehaviour:
|
|||||||
m_Calls:
|
m_Calls:
|
||||||
- m_Target: {fileID: 1858033414}
|
- m_Target: {fileID: 1858033414}
|
||||||
m_TargetAssemblyTypeName: MainMenu, Assembly-CSharp
|
m_TargetAssemblyTypeName: MainMenu, Assembly-CSharp
|
||||||
m_MethodName: LevelEditor
|
m_MethodName: CreateLevel
|
||||||
m_Mode: 1
|
m_Mode: 1
|
||||||
m_Arguments:
|
m_Arguments:
|
||||||
m_ObjectArgument: {fileID: 0}
|
m_ObjectArgument: {fileID: 0}
|
||||||
|
@ -1164,7 +1164,7 @@ MonoBehaviour:
|
|||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_Sprite: {fileID: -4781373940957465942, guid: 1b21bd4ccae70934eb86a3a2a6928e98, type: 3}
|
m_Sprite: {fileID: -4781373940957465942, guid: 1d7f8c8f8305efa4c8b78f4dd391c49b, type: 3}
|
||||||
m_Type: 0
|
m_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 73b983a44d701df4bb6d8ceb94e05a2b
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -544,7 +544,6 @@ MonoBehaviour:
|
|||||||
normalMinYFollow: 2
|
normalMinYFollow: 2
|
||||||
shipMinYFollow: 6
|
shipMinYFollow: 6
|
||||||
smoothSpeed: 5
|
smoothSpeed: 5
|
||||||
isPlaying: 1
|
|
||||||
--- !u!1 &521952199
|
--- !u!1 &521952199
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -6222,7 +6221,7 @@ MonoBehaviour:
|
|||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_Sprite: {fileID: -2073137460773038770, guid: bcd6c4da7709ff9458a5784f7f807e30, type: 3}
|
m_Sprite: {fileID: -2073137460773038770, guid: 7bbd15eb9b940f4c59561753a3d516ce, type: 3}
|
||||||
m_Type: 0
|
m_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
@ -7318,6 +7317,7 @@ MonoBehaviour:
|
|||||||
levelsLoader: {fileID: 0}
|
levelsLoader: {fileID: 0}
|
||||||
audioSource: {fileID: 1999482188}
|
audioSource: {fileID: 1999482188}
|
||||||
progressionText: {fileID: 245275149}
|
progressionText: {fileID: 245275149}
|
||||||
|
groundWidth: 1
|
||||||
--- !u!4 &1999482187
|
--- !u!4 &1999482187
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class CameraController : MonoBehaviour
|
|
||||||
{
|
|
||||||
public float moveSpeed = 10f;
|
|
||||||
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
float horizontalInput = Input.GetAxisRaw("Horizontal"); // ← → ou A D
|
|
||||||
float verticalInput = Input.GetAxisRaw("Vertical"); // ↑ ↓ ou W S
|
|
||||||
|
|
||||||
Vector3 movement = new Vector3(
|
|
||||||
horizontalInput * moveSpeed * Time.deltaTime,
|
|
||||||
verticalInput * moveSpeed * Time.deltaTime,
|
|
||||||
0f
|
|
||||||
);
|
|
||||||
|
|
||||||
Camera.main.transform.position += movement;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 74af3e3f2c02bde43b24c2f56589d071
|
|
@ -42,10 +42,7 @@ public class NormalGameMode : IGameMode
|
|||||||
{
|
{
|
||||||
player.RigidBody.linearVelocity = new Vector2(player.RigidBody.linearVelocity.x, 0);
|
player.RigidBody.linearVelocity = new Vector2(player.RigidBody.linearVelocity.x, 0);
|
||||||
player.RigidBody.AddForce(Vector2.up * JumpForce, ForceMode2D.Impulse);
|
player.RigidBody.AddForce(Vector2.up * JumpForce, ForceMode2D.Impulse);
|
||||||
if (player.LevelsLoader != null)
|
|
||||||
{
|
|
||||||
player.LevelsLoader.IncreaseTotalJumps();
|
player.LevelsLoader.IncreaseTotalJumps();
|
||||||
}
|
|
||||||
isRotating = true;
|
isRotating = true;
|
||||||
targetRotationAngle = player.transform.eulerAngles.z - 90f;
|
targetRotationAngle = player.transform.eulerAngles.z - 90f;
|
||||||
}
|
}
|
||||||
|
@ -59,11 +59,8 @@ public class ShipGameMode : IGameMode
|
|||||||
{
|
{
|
||||||
player.RigidBody.linearVelocity = new Vector2(player.RigidBody.linearVelocity.x, 0);
|
player.RigidBody.linearVelocity = new Vector2(player.RigidBody.linearVelocity.x, 0);
|
||||||
player.RigidBody.AddForce(Vector2.up * JumpForce, ForceMode2D.Impulse);
|
player.RigidBody.AddForce(Vector2.up * JumpForce, ForceMode2D.Impulse);
|
||||||
if (player.LevelsLoader != null)
|
|
||||||
{
|
|
||||||
player.LevelsLoader.IncreaseTotalJumps();
|
player.LevelsLoader.IncreaseTotalJumps();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public void OnCollisionEnter(Player player, Collision2D collision)
|
public void OnCollisionEnter(Player player, Collision2D collision)
|
||||||
{
|
{
|
||||||
|
@ -1,147 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using SimpleFileBrowser;
|
|
||||||
using TMPro;
|
|
||||||
|
|
||||||
[RequireComponent(typeof(LevelEditor))]
|
|
||||||
public class JSONExporter : MonoBehaviour
|
|
||||||
{
|
|
||||||
public TMP_Text statusText;
|
|
||||||
private LevelEditor editor;
|
|
||||||
private string levelsFolder;
|
|
||||||
|
|
||||||
private void Awake()
|
|
||||||
{
|
|
||||||
editor = GetComponent<LevelEditor>();
|
|
||||||
levelsFolder = Path.Combine(Application.dataPath, "Resources/Levels");
|
|
||||||
if (!Directory.Exists(levelsFolder))
|
|
||||||
Directory.CreateDirectory(levelsFolder);
|
|
||||||
|
|
||||||
if (statusText == null)
|
|
||||||
{
|
|
||||||
var statusObj = GameObject.Find("StatusText");
|
|
||||||
if (statusObj != null)
|
|
||||||
statusText = statusObj.GetComponent<TMP_Text>();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Start()
|
|
||||||
{
|
|
||||||
SetStatus("Ready to export...", Color.white);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ExportJSON()
|
|
||||||
{
|
|
||||||
SetStatus("Exporting...", Color.yellow);
|
|
||||||
StartCoroutine(ShowSaveDialog());
|
|
||||||
}
|
|
||||||
|
|
||||||
private IEnumerator ShowSaveDialog()
|
|
||||||
{
|
|
||||||
yield return FileBrowser.WaitForSaveDialog(
|
|
||||||
FileBrowser.PickMode.Files,
|
|
||||||
false,
|
|
||||||
levelsFolder,
|
|
||||||
"NewLevel.json",
|
|
||||||
"Save Level JSON",
|
|
||||||
"Save"
|
|
||||||
);
|
|
||||||
|
|
||||||
if (!FileBrowser.Success)
|
|
||||||
{
|
|
||||||
SetStatus("Save canceled.", Color.red);
|
|
||||||
yield break;
|
|
||||||
}
|
|
||||||
|
|
||||||
string chosenPath = FileBrowser.Result[0];
|
|
||||||
string fileName = Path.GetFileNameWithoutExtension(chosenPath);
|
|
||||||
string destPath = Path.Combine(levelsFolder, fileName + ".json");
|
|
||||||
|
|
||||||
var elements = new List<SerializableElement>();
|
|
||||||
var allCols = Object.FindObjectsByType<Collider2D>(FindObjectsSortMode.None);
|
|
||||||
foreach (var col in allCols)
|
|
||||||
{
|
|
||||||
var go = col.gameObject;
|
|
||||||
if (!go.name.Contains("(Clone)") || go.name.ToLower().Contains("ground"))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
Vector3 scale = go.transform.localScale;
|
|
||||||
Vector3 pos = go.transform.position;
|
|
||||||
|
|
||||||
elements.Add(new SerializableElement
|
|
||||||
{
|
|
||||||
type = go.name.Replace("(Clone)", ""),
|
|
||||||
x = Mathf.Round(pos.x * 100f) / 100f,
|
|
||||||
y = Mathf.Round(pos.y * 100f) / 100f,
|
|
||||||
scaleX = Mathf.Round(scale.x * 100f) / 100f,
|
|
||||||
scaleY = Mathf.Round(scale.y * 100f) / 100f
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (elements.Count == 0)
|
|
||||||
{
|
|
||||||
SetStatus("No elements to export.", Color.red);
|
|
||||||
yield break;
|
|
||||||
}
|
|
||||||
|
|
||||||
LevelData data = new LevelData
|
|
||||||
{
|
|
||||||
name = fileName,
|
|
||||||
musicName = "",
|
|
||||||
order = 0,
|
|
||||||
elements = elements.ToArray()
|
|
||||||
};
|
|
||||||
string json = JsonUtility.ToJson(data, prettyPrint: true);
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
File.WriteAllText(destPath, json);
|
|
||||||
SetStatus("Export successful: " + fileName + ".json", Color.green);
|
|
||||||
}
|
|
||||||
catch (System.Exception e)
|
|
||||||
{
|
|
||||||
Debug.LogError("Export error: " + e);
|
|
||||||
SetStatus("Export error. See console.", Color.red);
|
|
||||||
}
|
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
|
||||||
UnityEditor.AssetDatabase.Refresh();
|
|
||||||
#endif
|
|
||||||
var loader = Object.FindAnyObjectByType<LevelsLoader>();
|
|
||||||
if (loader != null)
|
|
||||||
loader.RefreshLevels();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void SetStatus(string message, Color color)
|
|
||||||
{
|
|
||||||
if (statusText != null)
|
|
||||||
{
|
|
||||||
statusText.text = message;
|
|
||||||
statusText.color = color;
|
|
||||||
statusText.gameObject.SetActive(false);
|
|
||||||
statusText.gameObject.SetActive(true);
|
|
||||||
Canvas.ForceUpdateCanvases();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[System.Serializable]
|
|
||||||
private class SerializableElement
|
|
||||||
{
|
|
||||||
public string type;
|
|
||||||
public float x;
|
|
||||||
public float y;
|
|
||||||
public float scaleX;
|
|
||||||
public float scaleY;
|
|
||||||
}
|
|
||||||
|
|
||||||
[System.Serializable]
|
|
||||||
private class LevelData
|
|
||||||
{
|
|
||||||
public string name;
|
|
||||||
public string musicName;
|
|
||||||
public int order;
|
|
||||||
public SerializableElement[] elements;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d3227fe18f4441647bdd19d3131efa02
|
|
@ -5,6 +5,7 @@ using System.Collections.Generic;
|
|||||||
public class LevelEditor : MonoBehaviour
|
public class LevelEditor : MonoBehaviour
|
||||||
{
|
{
|
||||||
[Header("Placement")]
|
[Header("Placement")]
|
||||||
|
public Transform mapParent;
|
||||||
private GameObject currentBlock;
|
private GameObject currentBlock;
|
||||||
private bool isPlacingBlock = false;
|
private bool isPlacingBlock = false;
|
||||||
private Vector3 currentScale = new Vector3(1f, 1f, 1);
|
private Vector3 currentScale = new Vector3(1f, 1f, 1);
|
||||||
@ -41,26 +42,10 @@ public class LevelEditor : MonoBehaviour
|
|||||||
|
|
||||||
void GenerateButtons()
|
void GenerateButtons()
|
||||||
{
|
{
|
||||||
if (buttonPrefabTemplate == null)
|
|
||||||
{
|
|
||||||
Debug.LogError("LevelEditor.GenerateButtons(): buttonPrefabTemplate n’est pas assigné !");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (blockGroupContainer == null)
|
|
||||||
{
|
|
||||||
Debug.LogError("LevelEditor.GenerateButtons(): blockGroupContainer n’est pas assigné !");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
ClearCurrentButtons();
|
ClearCurrentButtons();
|
||||||
|
|
||||||
Transform container = blockGroupContainer;
|
Transform container = blockGroupContainer;
|
||||||
|
|
||||||
if (container == null || buttonPrefabTemplate == null)
|
|
||||||
{
|
|
||||||
Debug.LogError("UI Container ou prefab de bouton manquant.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int start = currentPage * buttonsPerPage;
|
int start = currentPage * buttonsPerPage;
|
||||||
int end = Mathf.Min(start + buttonsPerPage, blockPrefabs.Count);
|
int end = Mathf.Min(start + buttonsPerPage, blockPrefabs.Count);
|
||||||
|
|
||||||
@ -91,9 +76,13 @@ public class LevelEditor : MonoBehaviour
|
|||||||
|
|
||||||
string prefabName = blockPrefabs[i].name.ToLower();
|
string prefabName = blockPrefabs[i].name.ToLower();
|
||||||
if (prefabName.Contains("smallspike") || prefabName.Contains("smallobstacle"))
|
if (prefabName.Contains("smallspike") || prefabName.Contains("smallobstacle"))
|
||||||
|
{
|
||||||
icon.GetComponent<RectTransform>().sizeDelta = new Vector2(50, 25);
|
icon.GetComponent<RectTransform>().sizeDelta = new Vector2(50, 25);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
icon.GetComponent<RectTransform>().sizeDelta = new Vector2(50, 50);
|
icon.GetComponent<RectTransform>().sizeDelta = new Vector2(50, 50);
|
||||||
|
}
|
||||||
|
|
||||||
GameObject prefab = blockPrefabs[i];
|
GameObject prefab = blockPrefabs[i];
|
||||||
button.GetComponent<Button>().onClick.AddListener(() => SelectPrefab(prefab));
|
button.GetComponent<Button>().onClick.AddListener(() => SelectPrefab(prefab));
|
||||||
@ -104,7 +93,9 @@ public class LevelEditor : MonoBehaviour
|
|||||||
void ClearCurrentButtons()
|
void ClearCurrentButtons()
|
||||||
{
|
{
|
||||||
foreach (var button in currentButtons)
|
foreach (var button in currentButtons)
|
||||||
|
{
|
||||||
Destroy(button);
|
Destroy(button);
|
||||||
|
}
|
||||||
|
|
||||||
currentButtons.Clear();
|
currentButtons.Clear();
|
||||||
}
|
}
|
||||||
@ -112,7 +103,6 @@ public class LevelEditor : MonoBehaviour
|
|||||||
public void NextPage()
|
public void NextPage()
|
||||||
{
|
{
|
||||||
int maxPage = 3;
|
int maxPage = 3;
|
||||||
Debug.Log(currentPage);
|
|
||||||
if (currentPage < maxPage - 1)
|
if (currentPage < maxPage - 1)
|
||||||
{
|
{
|
||||||
currentPage++;
|
currentPage++;
|
||||||
@ -122,7 +112,6 @@ public class LevelEditor : MonoBehaviour
|
|||||||
|
|
||||||
public void PreviousPage()
|
public void PreviousPage()
|
||||||
{
|
{
|
||||||
Debug.Log(currentPage);
|
|
||||||
if (currentPage > 0)
|
if (currentPage > 0)
|
||||||
{
|
{
|
||||||
currentPage--;
|
currentPage--;
|
||||||
@ -132,38 +121,49 @@ public class LevelEditor : MonoBehaviour
|
|||||||
|
|
||||||
void SelectPrefab(GameObject prefab)
|
void SelectPrefab(GameObject prefab)
|
||||||
{
|
{
|
||||||
if (isPlacingBlock) return;
|
if (isPlacingBlock)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
string name = prefab.name.ToLower();
|
string name = prefab.name.ToLower();
|
||||||
|
|
||||||
if (name.Contains("portal"))
|
if (name.Contains("portal"))
|
||||||
|
{
|
||||||
currentScale = new Vector3(0.5f, 0.5f, 1);
|
currentScale = new Vector3(0.5f, 0.5f, 1);
|
||||||
|
}
|
||||||
else if (name.Contains("small"))
|
else if (name.Contains("small"))
|
||||||
|
{
|
||||||
currentScale = new Vector3(0.15f, 0.07f, 1);
|
currentScale = new Vector3(0.15f, 0.07f, 1);
|
||||||
|
}
|
||||||
else if (name.Contains("spike"))
|
else if (name.Contains("spike"))
|
||||||
|
{
|
||||||
currentScale = new Vector3(0.15f, 0.15f, 1);
|
currentScale = new Vector3(0.15f, 0.15f, 1);
|
||||||
|
}
|
||||||
else if (name.Contains("block"))
|
else if (name.Contains("block"))
|
||||||
|
{
|
||||||
|
|
||||||
currentScale = new Vector3(0.2f, 0.2f, 1);
|
currentScale = new Vector3(0.2f, 0.2f, 1);
|
||||||
|
}
|
||||||
else if (name.Contains("bonus"))
|
else if (name.Contains("bonus"))
|
||||||
|
{
|
||||||
currentScale = new Vector3(0.3f, 0.3f, 1);
|
currentScale = new Vector3(0.3f, 0.3f, 1);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
currentScale = new Vector3(1f, 1f, 1);
|
currentScale = new Vector3(1f, 1f, 1);
|
||||||
|
}
|
||||||
|
|
||||||
InstantiateAndPrepare(prefab, currentScale);
|
InstantiateAndPrepare(prefab, currentScale);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
// Déplacement de l'objet en cours de placement
|
|
||||||
if (isPlacingBlock && currentBlock != null)
|
if (isPlacingBlock && currentBlock != null)
|
||||||
{
|
{
|
||||||
Vector2 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
|
Vector2 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
|
||||||
currentBlock.transform.position = new Vector3(Mathf.Round(mousePos.x), Mathf.Round(mousePos.y), -1);
|
currentBlock.transform.position = new Vector3(Mathf.Round(mousePos.x), Mathf.Round(mousePos.y), -1);
|
||||||
|
|
||||||
if (currentBlock != null && Input.GetKeyDown(KeyCode.R))
|
|
||||||
{
|
|
||||||
HandleBlockRotation(); // ✅ Nouvelle rotation
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!currentBlock.name.ToLower().Contains("portal"))
|
if (!currentBlock.name.ToLower().Contains("portal"))
|
||||||
{
|
{
|
||||||
float scroll = Input.GetAxis("Mouse ScrollWheel");
|
float scroll = Input.GetAxis("Mouse ScrollWheel");
|
||||||
@ -185,40 +185,19 @@ public class LevelEditor : MonoBehaviour
|
|||||||
|
|
||||||
if (overlaps.Length > 1)
|
if (overlaps.Length > 1)
|
||||||
{
|
{
|
||||||
Debug.Log("Placement annulé : un objet est déjà présent à cet endroit.");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
PlaceBlock();
|
PlaceBlock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (Input.GetMouseButtonDown(0)) // Clic gauche pour reprendre un objet déjà placé
|
|
||||||
|
if (Input.GetMouseButtonDown(0) && !isPlacingBlock)
|
||||||
{
|
{
|
||||||
Vector2 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
|
Vector2 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
|
||||||
Collider2D hit = Physics2D.OverlapPoint(mousePos);
|
Collider2D hit = Physics2D.OverlapPoint(mousePos);
|
||||||
|
|
||||||
if (hit != null && hit.transform != null)
|
if (hit != null)
|
||||||
{
|
|
||||||
if (hit.CompareTag("Ground"))
|
|
||||||
{
|
|
||||||
Debug.Log("Impossible de déplacer le sol (tag Ground).");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
currentBlock = hit.gameObject;
|
|
||||||
isPlacingBlock = true;
|
|
||||||
currentScale = currentBlock.transform.localScale;
|
|
||||||
Debug.Log($"Déplacement de l'objet : {currentBlock.name}");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Redimensionnement d'un objet déjà placé
|
|
||||||
if (Input.GetMouseButtonDown(0) && Input.GetKey(KeyCode.LeftShift) && !isPlacingBlock)
|
|
||||||
{
|
|
||||||
Vector2 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
|
|
||||||
Collider2D hit = Physics2D.OverlapPoint(mousePos);
|
|
||||||
|
|
||||||
if (hit != null && hit.transform != null && !hit.CompareTag("Ground"))
|
|
||||||
{
|
{
|
||||||
resizingTarget = hit.gameObject;
|
resizingTarget = hit.gameObject;
|
||||||
originalMousePos = mousePos;
|
originalMousePos = mousePos;
|
||||||
@ -233,7 +212,6 @@ public class LevelEditor : MonoBehaviour
|
|||||||
: ResizeAxis.Vertical;
|
: ResizeAxis.Vertical;
|
||||||
|
|
||||||
isResizing = true;
|
isResizing = true;
|
||||||
Debug.Log($"Début de redimensionnement : {resizingTarget.name}, axe = {currentResizeAxis}");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -242,34 +220,15 @@ public class LevelEditor : MonoBehaviour
|
|||||||
Vector3 currentMousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
|
Vector3 currentMousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
|
||||||
Vector3 delta = currentMousePos - originalMousePos;
|
Vector3 delta = currentMousePos - originalMousePos;
|
||||||
|
|
||||||
Vector3 newScale = originalScale;
|
|
||||||
|
|
||||||
if (currentResizeAxis == ResizeAxis.Horizontal)
|
if (currentResizeAxis == ResizeAxis.Horizontal)
|
||||||
newScale.x = Mathf.Max(0.1f, originalScale.x + delta.x);
|
{
|
||||||
|
float newScaleX = Mathf.Max(0.1f, originalScale.x + delta.x);
|
||||||
|
resizingTarget.transform.localScale = new Vector3(newScaleX, originalScale.y, 1);
|
||||||
|
}
|
||||||
else if (currentResizeAxis == ResizeAxis.Vertical)
|
else if (currentResizeAxis == ResizeAxis.Vertical)
|
||||||
newScale.y = Mathf.Max(0.1f, originalScale.y + delta.y);
|
|
||||||
|
|
||||||
// Temporarily apply the new scale for collision testing
|
|
||||||
Vector3 originalPos = resizingTarget.transform.position;
|
|
||||||
resizingTarget.transform.localScale = newScale;
|
|
||||||
|
|
||||||
Bounds bounds = resizingTarget.GetComponent<Collider2D>().bounds;
|
|
||||||
Collider2D[] overlaps = Physics2D.OverlapBoxAll(bounds.center, bounds.size, 0f);
|
|
||||||
|
|
||||||
bool hasCollision = false;
|
|
||||||
foreach (var col in overlaps)
|
|
||||||
{
|
{
|
||||||
if (col.gameObject != resizingTarget)
|
float newScaleY = Mathf.Max(0.1f, originalScale.y + delta.y);
|
||||||
{
|
resizingTarget.transform.localScale = new Vector3(originalScale.x, newScaleY, 1);
|
||||||
hasCollision = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (hasCollision)
|
|
||||||
{
|
|
||||||
resizingTarget.transform.localScale = originalScale; // revert
|
|
||||||
Debug.Log("Étirement annulé : collision détectée.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Input.GetMouseButtonUp(0))
|
if (Input.GetMouseButtonUp(0))
|
||||||
@ -279,175 +238,30 @@ public class LevelEditor : MonoBehaviour
|
|||||||
currentResizeAxis = ResizeAxis.None;
|
currentResizeAxis = ResizeAxis.None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Clic droit pour supprimer un objet déjà placé (sauf le sol)
|
|
||||||
if (Input.GetMouseButtonDown(1))
|
|
||||||
{
|
|
||||||
Vector2 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
|
|
||||||
Collider2D hit = Physics2D.OverlapPoint(mousePos);
|
|
||||||
|
|
||||||
if (hit != null && hit.transform != null)
|
|
||||||
{
|
|
||||||
if (hit.CompareTag("Ground"))
|
|
||||||
{
|
|
||||||
Debug.Log("Impossible de supprimer le sol (tag Ground).");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
Destroy(hit.gameObject);
|
|
||||||
Debug.Log($"Objet supprimé : {hit.name}");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlaceBlock()
|
void PlaceBlock()
|
||||||
{
|
{
|
||||||
bool skipVerticalSnap = false;
|
|
||||||
|
|
||||||
if (currentBlock.name.ToLower().Contains("smallobstacle") || currentBlock.name.ToLower().Contains("portal"))
|
|
||||||
{
|
|
||||||
skipVerticalSnap = true; // On saute l'alignement vertical pour ces cas-là
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!skipVerticalSnap)
|
|
||||||
{
|
|
||||||
Vector2 origin = currentBlock.transform.position;
|
|
||||||
RaycastHit2D[] hitsBelow = Physics2D.RaycastAll(origin, Vector2.down, 100f);
|
|
||||||
|
|
||||||
float highestY = -Mathf.Infinity;
|
|
||||||
GameObject bestTargetBelow = null;
|
|
||||||
|
|
||||||
foreach (var hit in hitsBelow)
|
|
||||||
{
|
|
||||||
if (hit.collider != null && hit.collider.gameObject != currentBlock)
|
|
||||||
{
|
|
||||||
float topOfObject = hit.collider.bounds.max.y;
|
|
||||||
if (topOfObject > highestY)
|
|
||||||
{
|
|
||||||
highestY = topOfObject;
|
|
||||||
bestTargetBelow = hit.collider.gameObject;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (bestTargetBelow != null)
|
|
||||||
{
|
|
||||||
float height = currentBlock.GetComponent<Collider2D>().bounds.size.y;
|
|
||||||
currentBlock.transform.position = new Vector3(currentBlock.transform.position.x, highestY + height / 2f, -1);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
float height = currentBlock.GetComponent<Collider2D>().bounds.size.y;
|
|
||||||
currentBlock.transform.position = new Vector3(currentBlock.transform.position.x, height / 2f, -1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// ➔ Toujours essayer de snap sur la droite et en bas même pour Portal et SmallObstacle
|
|
||||||
TrySnapToNearbyBlock();
|
|
||||||
|
|
||||||
isPlacingBlock = false;
|
isPlacingBlock = false;
|
||||||
currentBlock = null;
|
currentBlock = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void TrySnapToNearbyBlock()
|
|
||||||
{
|
|
||||||
if (currentBlock == null)
|
|
||||||
return;
|
|
||||||
|
|
||||||
Collider2D blockCollider = currentBlock.GetComponent<Collider2D>();
|
|
||||||
Bounds bounds = blockCollider.bounds;
|
|
||||||
|
|
||||||
float snapDistance = 1f; // Distance de snap (en Unity units)
|
|
||||||
|
|
||||||
// Zone de scan à droite
|
|
||||||
Vector2 rightAreaStart = new Vector2(bounds.max.x, bounds.min.y);
|
|
||||||
Vector2 rightAreaEnd = new Vector2(bounds.max.x + snapDistance, bounds.max.y);
|
|
||||||
|
|
||||||
// Zone de scan à gauche
|
|
||||||
Vector2 leftAreaStart = new Vector2(bounds.min.x - snapDistance, bounds.min.y);
|
|
||||||
Vector2 leftAreaEnd = new Vector2(bounds.min.x, bounds.max.y);
|
|
||||||
|
|
||||||
// Zone de scan en dessous
|
|
||||||
Vector2 bottomAreaStart = new Vector2(bounds.min.x, bounds.min.y - snapDistance);
|
|
||||||
Vector2 bottomAreaEnd = new Vector2(bounds.max.x, bounds.min.y);
|
|
||||||
|
|
||||||
// Zone de scan au dessus
|
|
||||||
Vector2 topAreaStart = new Vector2(bounds.min.x, bounds.max.y);
|
|
||||||
Vector2 topAreaEnd = new Vector2(bounds.max.x, bounds.max.y + snapDistance);
|
|
||||||
|
|
||||||
Collider2D[] hitsRight = Physics2D.OverlapAreaAll(rightAreaStart, rightAreaEnd);
|
|
||||||
Collider2D[] hitsLeft = Physics2D.OverlapAreaAll(leftAreaStart, leftAreaEnd);
|
|
||||||
Collider2D[] hitsBelow = Physics2D.OverlapAreaAll(bottomAreaStart, bottomAreaEnd);
|
|
||||||
Collider2D[] hitsAbove = Physics2D.OverlapAreaAll(topAreaStart, topAreaEnd);
|
|
||||||
|
|
||||||
// ➔ Priorité : droite > gauche > bas > haut
|
|
||||||
|
|
||||||
foreach (var hit in hitsRight)
|
|
||||||
{
|
|
||||||
if (hit != null && hit.gameObject != currentBlock)
|
|
||||||
{
|
|
||||||
float theirLeft = hit.bounds.min.x;
|
|
||||||
float ourWidth = bounds.size.x;
|
|
||||||
currentBlock.transform.position = new Vector3(theirLeft - ourWidth / 2f, currentBlock.transform.position.y, -1);
|
|
||||||
Debug.Log("✅ Snap automatique à droite !");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var hit in hitsLeft)
|
|
||||||
{
|
|
||||||
if (hit != null && hit.gameObject != currentBlock)
|
|
||||||
{
|
|
||||||
float theirRight = hit.bounds.max.x;
|
|
||||||
float ourWidth = bounds.size.x;
|
|
||||||
currentBlock.transform.position = new Vector3(theirRight + ourWidth / 2f, currentBlock.transform.position.y, -1);
|
|
||||||
Debug.Log("✅ Snap automatique à gauche !");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var hit in hitsBelow)
|
|
||||||
{
|
|
||||||
if (hit != null && hit.gameObject != currentBlock)
|
|
||||||
{
|
|
||||||
float theirTop = hit.bounds.max.y;
|
|
||||||
float ourHeight = bounds.size.y;
|
|
||||||
currentBlock.transform.position = new Vector3(currentBlock.transform.position.x, theirTop + ourHeight / 2f, -1);
|
|
||||||
Debug.Log("✅ Snap automatique en bas !");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var hit in hitsAbove)
|
|
||||||
{
|
|
||||||
if (hit != null && hit.gameObject != currentBlock)
|
|
||||||
{
|
|
||||||
float theirBottom = hit.bounds.min.y;
|
|
||||||
float ourHeight = bounds.size.y;
|
|
||||||
currentBlock.transform.position = new Vector3(currentBlock.transform.position.x, theirBottom - ourHeight / 2f, -1);
|
|
||||||
Debug.Log("✅ Snap automatique en haut !");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
void InstantiateAndPrepare(GameObject prefab, Vector3? scaleOverride = null)
|
void InstantiateAndPrepare(GameObject prefab, Vector3? scaleOverride = null)
|
||||||
{
|
{
|
||||||
GameObject obj = Instantiate(prefab);
|
GameObject obj = Instantiate(prefab);
|
||||||
obj.transform.position = new Vector3(0, 0, -1);
|
obj.transform.position = new Vector3(0, 0, -1);
|
||||||
obj.transform.localScale = scaleOverride ?? currentScale;
|
obj.transform.localScale = scaleOverride ?? currentScale;
|
||||||
|
|
||||||
try { obj.tag = prefab.name; }
|
if (mapParent != null)
|
||||||
catch { Debug.LogWarning($"Le tag '{prefab.name}' n'existe pas. Ajoutez-le dans Project Settings > Tags."); }
|
{
|
||||||
|
obj.transform.SetParent(mapParent);
|
||||||
|
}
|
||||||
|
|
||||||
currentBlock = obj;
|
currentBlock = obj;
|
||||||
isPlacingBlock = true;
|
isPlacingBlock = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void HandleBlockRotation()
|
public void Save()
|
||||||
{
|
{
|
||||||
currentBlock.transform.Rotate(0f, 0f, -90f); // ➔ Rotation de 90° dans le sens horaire
|
|
||||||
Debug.Log("🔄 Bloc pivoté de 90° !");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,39 +18,46 @@ public class LevelsLoader : MonoBehaviour
|
|||||||
private void LoadAllLevels()
|
private void LoadAllLevels()
|
||||||
{
|
{
|
||||||
TextAsset[] levelFiles = Resources.LoadAll<TextAsset>("Levels");
|
TextAsset[] levelFiles = Resources.LoadAll<TextAsset>("Levels");
|
||||||
|
TextAsset[] levelStatsFiles = Resources.LoadAll<TextAsset>("LevelsStats");
|
||||||
|
|
||||||
|
Dictionary<string, LevelStat> levelStatsMap = new();
|
||||||
|
foreach (TextAsset jsonTextFileStats in levelStatsFiles)
|
||||||
|
{
|
||||||
|
LevelStat levelStat = LevelStat.CreateFromJSON(jsonTextFileStats.text);
|
||||||
|
levelStat.JsonName = jsonTextFileStats.name;
|
||||||
|
levelStatsMap[levelStat.JsonName] = levelStat;
|
||||||
|
}
|
||||||
|
|
||||||
foreach (TextAsset jsonTextFile in levelFiles)
|
foreach (TextAsset jsonTextFile in levelFiles)
|
||||||
{
|
{
|
||||||
Level level = Level.CreateFromJSON(jsonTextFile.text);
|
Level level = Level.CreateFromJSON(jsonTextFile.text);
|
||||||
level.JsonName = jsonTextFile.name;
|
level.JsonName = jsonTextFile.name;
|
||||||
|
level.TotalAttempts = 0;
|
||||||
|
level.TotalJumps = 0;
|
||||||
|
level.ProgressionPercent = 0;
|
||||||
|
level.ProgressionPercentMax = 0;
|
||||||
|
|
||||||
string statPath = Path.Combine(Application.persistentDataPath, level.JsonName + ".json");
|
if (levelStatsMap.TryGetValue(level.JsonName, out LevelStat levelStat))
|
||||||
if (File.Exists(statPath))
|
|
||||||
{
|
{
|
||||||
string statJson = File.ReadAllText(statPath);
|
|
||||||
LevelStat levelStat = JsonUtility.FromJson<LevelStat>(statJson);
|
|
||||||
|
|
||||||
level.TotalAttempts = levelStat.totalAttempts;
|
level.TotalAttempts = levelStat.totalAttempts;
|
||||||
level.TotalJumps = levelStat.totalJumps;
|
level.TotalJumps = levelStat.totalJumps;
|
||||||
level.ProgressionPercentMax = levelStat.progressionPercent;
|
level.ProgressionPercentMax = levelStat.progressionPercent;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
level.TotalAttempts = 0;
|
levelStat = new LevelStat { JsonName = level.JsonName, totalJumps = 0, totalAttempts = 0 };
|
||||||
level.TotalJumps = 0;
|
levelStatsMap[level.JsonName] = levelStat;
|
||||||
level.ProgressionPercentMax = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
level.ProgressionPercent = 0;
|
|
||||||
levels.Add(level);
|
levels.Add(level);
|
||||||
}
|
}
|
||||||
|
|
||||||
levels.Sort((x, y) => x.order.CompareTo(y.order));
|
levels.Sort((x, y) => x.order.CompareTo(y.order));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SaveLevelCurrent()
|
private void SaveLevelCurrent()
|
||||||
{
|
{
|
||||||
if (levelCurrent == null) return;
|
string levelJson = JsonUtility.ToJson(levelCurrent, true) + "\n";
|
||||||
|
File.WriteAllText(Path.Combine(Application.dataPath, "Resources", "Levels", levelCurrent.JsonName + ".json"), levelJson);
|
||||||
|
|
||||||
LevelStat levelStat = new()
|
LevelStat levelStat = new()
|
||||||
{
|
{
|
||||||
@ -59,54 +66,39 @@ public class LevelsLoader : MonoBehaviour
|
|||||||
totalAttempts = levelCurrent.TotalAttempts,
|
totalAttempts = levelCurrent.TotalAttempts,
|
||||||
progressionPercent = levelCurrent.ProgressionPercentMax,
|
progressionPercent = levelCurrent.ProgressionPercentMax,
|
||||||
};
|
};
|
||||||
|
|
||||||
string levelStatJson = JsonUtility.ToJson(levelStat, true) + "\n";
|
string levelStatJson = JsonUtility.ToJson(levelStat, true) + "\n";
|
||||||
|
File.WriteAllText(Path.Combine(Application.dataPath, "Resources", "LevelsStats", levelCurrent.JsonName + ".json"), levelStatJson);
|
||||||
string savePath = Path.Combine(Application.persistentDataPath, levelCurrent.JsonName + ".json");
|
|
||||||
File.WriteAllText(savePath, levelStatJson);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void NextLevel()
|
public void NextLevel()
|
||||||
{
|
{
|
||||||
if (levels.Count == 0) return;
|
|
||||||
|
|
||||||
int currentIndex = levels.IndexOf(levelCurrent);
|
int currentIndex = levels.IndexOf(levelCurrent);
|
||||||
levelCurrent = levels[(currentIndex + 1) % levels.Count];
|
levelCurrent = levels[(currentIndex + 1) % levels.Count];
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PreviousLevel()
|
public void PreviousLevel()
|
||||||
{
|
{
|
||||||
if (levels.Count == 0) return;
|
|
||||||
|
|
||||||
int currentIndex = levels.IndexOf(levelCurrent);
|
int currentIndex = levels.IndexOf(levelCurrent);
|
||||||
levelCurrent = levels[(currentIndex - 1 + levels.Count) % levels.Count];
|
levelCurrent = levels[(currentIndex - 1 + levels.Count) % levels.Count];
|
||||||
}
|
}
|
||||||
|
|
||||||
public void IncreaseTotalJumps()
|
public void IncreaseTotalJumps()
|
||||||
{
|
{
|
||||||
if (levelCurrent == null) return;
|
|
||||||
|
|
||||||
levelCurrent.TotalJumps += 1;
|
levelCurrent.TotalJumps += 1;
|
||||||
SaveLevelCurrent();
|
SaveLevelCurrent();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void IncreaseTotalAttempts()
|
public void IncreaseTotalAttempts()
|
||||||
{
|
{
|
||||||
if (levelCurrent == null) return;
|
|
||||||
|
|
||||||
levelCurrent.TotalAttempts += 1;
|
levelCurrent.TotalAttempts += 1;
|
||||||
SaveLevelCurrent();
|
SaveLevelCurrent();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int CalculateCurrentProgressionPercent(Vector3 playerPosition)
|
public int CalculateCurrentProgressionPercent(Vector3 playerPosition)
|
||||||
{
|
{
|
||||||
if (levelCurrent == null) return 0;
|
|
||||||
|
|
||||||
float lastX = levelCurrent.LastX;
|
float lastX = levelCurrent.LastX;
|
||||||
GameObject winnerWallPrefab = Resources.Load<GameObject>("Prefabs/WinnerWall");
|
GameObject winnerWallPrefab = Resources.Load<GameObject>("Prefabs/WinnerWall");
|
||||||
float winnerWallWidth = winnerWallPrefab != null
|
float winnerWallWidth = winnerWallPrefab.GetComponent<Renderer>().bounds.size.x;
|
||||||
? winnerWallPrefab.GetComponent<Renderer>().bounds.size.x
|
|
||||||
: 0f;
|
|
||||||
float marginError = 0.5f;
|
float marginError = 0.5f;
|
||||||
float totalDistance = lastX - (winnerWallWidth / 2) - marginError;
|
float totalDistance = lastX - (winnerWallWidth / 2) - marginError;
|
||||||
|
|
||||||
|
@ -18,11 +18,6 @@ public class MainMenu : MonoBehaviour
|
|||||||
Application.Quit();
|
Application.Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void LevelEditor()
|
|
||||||
{
|
|
||||||
SceneManager.LoadSceneAsync("LevelEditorScene");
|
|
||||||
}
|
|
||||||
|
|
||||||
public void EditorChoice()
|
public void EditorChoice()
|
||||||
{
|
{
|
||||||
SceneManager.LoadSceneAsync("EditorChoiceScene");
|
SceneManager.LoadSceneAsync("EditorChoiceScene");
|
||||||
|
@ -6,11 +6,9 @@ public class Player : MonoBehaviour
|
|||||||
public Rigidbody2D RigidBody { get; private set; }
|
public Rigidbody2D RigidBody { get; private set; }
|
||||||
public Transform Transform { get; private set; }
|
public Transform Transform { get; private set; }
|
||||||
public ParticleSystem Particle { get; private set; }
|
public ParticleSystem Particle { get; private set; }
|
||||||
public LevelsLoader LevelsLoader { get; set; }
|
public LevelsLoader LevelsLoader { get; private set; }
|
||||||
public SpriteRenderer SpriteRenderer { get; private set; }
|
public SpriteRenderer SpriteRenderer { get; private set; }
|
||||||
public bool IsColliding { get; set; } = true;
|
public bool IsColliding { get; set; } = true;
|
||||||
public bool HasStarted { get; set; } = false;
|
|
||||||
public bool CanJump { get; set; } = true;
|
|
||||||
|
|
||||||
public IGameMode CurrentGameMode { get; set; }
|
public IGameMode CurrentGameMode { get; set; }
|
||||||
public float SpeedMultiplier = 1f;
|
public float SpeedMultiplier = 1f;
|
||||||
@ -21,12 +19,7 @@ public class Player : MonoBehaviour
|
|||||||
Transform = transform;
|
Transform = transform;
|
||||||
Particle = GetComponentInChildren<ParticleSystem>();
|
Particle = GetComponentInChildren<ParticleSystem>();
|
||||||
SpriteRenderer = GetComponentInChildren<SpriteRenderer>();
|
SpriteRenderer = GetComponentInChildren<SpriteRenderer>();
|
||||||
|
LevelsLoader = GameObject.FindGameObjectWithTag("LevelsLoader").GetComponent<LevelsLoader>();
|
||||||
GameObject loaderObj = GameObject.FindGameObjectWithTag("LevelsLoader");
|
|
||||||
if (loaderObj != null)
|
|
||||||
LevelsLoader = loaderObj.GetComponent<LevelsLoader>();
|
|
||||||
else
|
|
||||||
Debug.LogWarning("LevelsLoader introuvable : Progression désactivée pour ce niveau.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Start()
|
public void Start()
|
||||||
@ -40,24 +33,21 @@ public class Player : MonoBehaviour
|
|||||||
|
|
||||||
public void Update()
|
public void Update()
|
||||||
{
|
{
|
||||||
if (CurrentGameMode != null)
|
|
||||||
CurrentGameMode.Update(this);
|
CurrentGameMode.Update(this);
|
||||||
|
|
||||||
if (LevelsLoader != null)
|
|
||||||
LevelsLoader.CalculateCurrentProgressionPercent(transform.position);
|
LevelsLoader.CalculateCurrentProgressionPercent(transform.position);
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void OnCollisionEnter2D(Collision2D collision)
|
public void OnCollisionEnter2D(Collision2D collision)
|
||||||
{
|
{
|
||||||
CurrentGameMode?.OnCollisionEnter(this, collision);
|
CurrentGameMode.OnCollisionEnter(this, collision);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnCollisionExit2D(Collision2D collision)
|
public void OnCollisionExit2D(Collision2D collision)
|
||||||
{
|
{
|
||||||
CurrentGameMode?.OnCollisionExit(this, collision);
|
CurrentGameMode.OnCollisionExit(this, collision);
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void OnTriggerEnter2D(Collider2D collision)
|
private void OnTriggerEnter2D(Collider2D collision)
|
||||||
{
|
{
|
||||||
if (collision.CompareTag("ShipPortal"))
|
if (collision.CompareTag("ShipPortal"))
|
||||||
{
|
{
|
||||||
|
@ -8,17 +8,12 @@ public class PlayerCamera : MonoBehaviour
|
|||||||
public float smoothSpeed = 5.0f;
|
public float smoothSpeed = 5.0f;
|
||||||
private float initialY;
|
private float initialY;
|
||||||
|
|
||||||
[Header("References")]
|
|
||||||
public bool isPlaying;
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
initialY = transform.position.y;
|
initialY = transform.position.y;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
|
||||||
if (isPlaying)
|
|
||||||
{
|
{
|
||||||
Player player = playerObject.GetComponent<Player>();
|
Player player = playerObject.GetComponent<Player>();
|
||||||
|
|
||||||
@ -38,5 +33,4 @@ public class PlayerCamera : MonoBehaviour
|
|||||||
|
|
||||||
transform.position = new Vector3(playerObject.transform.position.x, newY, transform.position.z);
|
transform.position = new Vector3(playerObject.transform.position.x, newY, transform.position.z);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,127 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class TestManager : MonoBehaviour
|
|
||||||
{
|
|
||||||
[Header("References")]
|
|
||||||
public IGameMode gameMode;
|
|
||||||
public Player currentPlayer;
|
|
||||||
public Transform spawnPoint;
|
|
||||||
public GameObject editorUI;
|
|
||||||
public PlayerCamera playerCamera;
|
|
||||||
|
|
||||||
private bool isTesting = false;
|
|
||||||
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
if (spawnPoint == null)
|
|
||||||
{
|
|
||||||
GameObject spawn = new GameObject("AutoSpawnPoint");
|
|
||||||
spawn.transform.position = new Vector3(-16, -3, 0f);
|
|
||||||
spawnPoint = spawn.transform;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (currentPlayer == null)
|
|
||||||
{
|
|
||||||
Debug.LogError("[TestManager] Aucun Player assigné !");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
gameMode = new NormalGameMode();
|
|
||||||
currentPlayer.ChangeGameMode(gameMode);
|
|
||||||
currentPlayer.SpeedMultiplier = 0f;
|
|
||||||
|
|
||||||
if (currentPlayer.SpriteRenderer != null)
|
|
||||||
currentPlayer.SpriteRenderer.enabled = false;
|
|
||||||
|
|
||||||
if (currentPlayer.Particle != null)
|
|
||||||
currentPlayer.Particle.Stop(true, ParticleSystemStopBehavior.StopEmittingAndClear); // 🛑 Stop propre
|
|
||||||
}
|
|
||||||
|
|
||||||
if (playerCamera != null)
|
|
||||||
{
|
|
||||||
playerCamera.isPlaying = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
if (isTesting && currentPlayer == null)
|
|
||||||
{
|
|
||||||
StopTest();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void StartOrStop()
|
|
||||||
{
|
|
||||||
if (isTesting)
|
|
||||||
StopTest();
|
|
||||||
else
|
|
||||||
StartTest();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void StartTest()
|
|
||||||
{
|
|
||||||
if (currentPlayer == null)
|
|
||||||
{
|
|
||||||
Debug.LogError("[TestManager] Player manquant pour lancer le test !");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (editorUI != null)
|
|
||||||
editorUI.SetActive(false);
|
|
||||||
|
|
||||||
currentPlayer.transform.position = spawnPoint.position;
|
|
||||||
currentPlayer.RigidBody.linearVelocity = Vector2.zero;
|
|
||||||
currentPlayer.SpeedMultiplier = 1f;
|
|
||||||
currentPlayer.SpriteRenderer.sprite = Resources.Load<Sprite>("Shapes/BaseSquare");
|
|
||||||
|
|
||||||
currentPlayer.ChangeGameMode(gameMode);
|
|
||||||
isTesting = true;
|
|
||||||
|
|
||||||
if (playerCamera != null)
|
|
||||||
{
|
|
||||||
playerCamera.playerObject = currentPlayer.gameObject;
|
|
||||||
playerCamera.isPlaying = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (currentPlayer.SpriteRenderer != null)
|
|
||||||
currentPlayer.SpriteRenderer.enabled = true;
|
|
||||||
|
|
||||||
if (currentPlayer.Particle != null)
|
|
||||||
currentPlayer.Particle.Play(); // ✅ Démarrer la particule
|
|
||||||
|
|
||||||
Debug.Log("[TestManager] Test du niveau démarré !");
|
|
||||||
}
|
|
||||||
|
|
||||||
public void StopTest()
|
|
||||||
{
|
|
||||||
if (currentPlayer != null)
|
|
||||||
{
|
|
||||||
currentPlayer.transform.position = spawnPoint.position;
|
|
||||||
currentPlayer.RigidBody.linearVelocity = Vector2.zero;
|
|
||||||
currentPlayer.RigidBody.angularVelocity = 0f;
|
|
||||||
currentPlayer.transform.rotation = Quaternion.identity;
|
|
||||||
currentPlayer.SpriteRenderer.sprite = Resources.Load<Sprite>("Shapes/BaseSquare");
|
|
||||||
currentPlayer.SpeedMultiplier = 0f;
|
|
||||||
|
|
||||||
if (currentPlayer.Particle != null)
|
|
||||||
currentPlayer.Particle.Stop(true, ParticleSystemStopBehavior.StopEmittingAndClear); // ✅ Arrêter proprement
|
|
||||||
|
|
||||||
if (currentPlayer.SpriteRenderer != null)
|
|
||||||
currentPlayer.SpriteRenderer.enabled = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (editorUI != null)
|
|
||||||
editorUI.SetActive(true);
|
|
||||||
|
|
||||||
if (playerCamera != null)
|
|
||||||
{
|
|
||||||
playerCamera.isPlaying = false;
|
|
||||||
playerCamera.transform.position = new Vector3(0f, 0f, -10f);
|
|
||||||
}
|
|
||||||
|
|
||||||
isTesting = false;
|
|
||||||
|
|
||||||
Debug.Log("[TestManager] Test du niveau arrêté, joueur reset et caméra recentrée !");
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 2c6d38f8c53ec314c9827a842e6f17d8
|
|
@ -8,7 +8,6 @@
|
|||||||
"com.unity.multiplayer.center": "1.0.0",
|
"com.unity.multiplayer.center": "1.0.0",
|
||||||
"com.unity.test-framework": "1.4.5",
|
"com.unity.test-framework": "1.4.5",
|
||||||
"com.unity.timeline": "1.8.7",
|
"com.unity.timeline": "1.8.7",
|
||||||
"com.unity.toolchain.linux-x86_64": "2.0.10",
|
|
||||||
"com.unity.ugui": "2.0.0",
|
"com.unity.ugui": "2.0.0",
|
||||||
"com.unity.visualscripting": "1.9.4",
|
"com.unity.visualscripting": "1.9.4",
|
||||||
"com.yasirkula.simplefilebrowser": "https://github.com/yasirkula/UnitySimpleFileBrowser.git",
|
"com.yasirkula.simplefilebrowser": "https://github.com/yasirkula/UnitySimpleFileBrowser.git",
|
||||||
|
@ -193,22 +193,6 @@
|
|||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.sysroot": {
|
|
||||||
"version": "2.0.10",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.sysroot.linux-x86_64": {
|
|
||||||
"version": "2.0.9",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.sysroot": "2.0.10"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.test-framework": {
|
"com.unity.test-framework": {
|
||||||
"version": "1.4.5",
|
"version": "1.4.5",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
@ -242,16 +226,6 @@
|
|||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.toolchain.linux-x86_64": {
|
|
||||||
"version": "2.0.10",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.sysroot": "2.0.10",
|
|
||||||
"com.unity.sysroot.linux-x86_64": "2.0.9"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.ugui": {
|
"com.unity.ugui": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
|
@ -11,21 +11,18 @@ EditorBuildSettings:
|
|||||||
- enabled: 1
|
- enabled: 1
|
||||||
path: Assets/Scenes/ImportScene.unity
|
path: Assets/Scenes/ImportScene.unity
|
||||||
guid: 079203ac02d460d48a1208a03134d373
|
guid: 079203ac02d460d48a1208a03134d373
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/Scenes/EditorChoiceScene.unity
|
||||||
|
guid: 200c916866fde6f4bb0123b72f22771f
|
||||||
- enabled: 1
|
- enabled: 1
|
||||||
path: Assets/Scenes/SelectLevelScene.unity
|
path: Assets/Scenes/SelectLevelScene.unity
|
||||||
guid: ff897c289bbe86f499c0c88b6177ab5c
|
guid: ff897c289bbe86f499c0c88b6177ab5c
|
||||||
- enabled: 1
|
- enabled: 1
|
||||||
path: Assets/Scenes/LevelScene.unity
|
path: Assets/Scenes/LevelScene.unity
|
||||||
guid: 8c9cfa26abfee488c85f1582747f6a02
|
guid: 8c9cfa26abfee488c85f1582747f6a02
|
||||||
- enabled: 0
|
|
||||||
path: Assets/Scenes/LevelEditorScene.unity
|
|
||||||
guid: 73b983a44d701df4bb6d8ceb94e05a2b
|
|
||||||
- enabled: 1
|
- enabled: 1
|
||||||
path: Assets/Scenes/LevelEditorScene.unity
|
path: Assets/Scenes/CreateLevelScene.unity
|
||||||
guid: 73b983a44d701df4bb6d8ceb94e05a2b
|
guid: 73b983a44d701df4bb6d8ceb94e05a2b
|
||||||
- enabled: 1
|
|
||||||
path: Assets/Scenes/EditorChoiceScene.unity
|
|
||||||
guid: 200c916866fde6f4bb0123b72f22771f
|
|
||||||
m_configObjects:
|
m_configObjects:
|
||||||
com.unity.input.settings.actions: {fileID: -944628639613478452, guid: 2bcd2660ca9b64942af0de543d8d7100, type: 3}
|
com.unity.input.settings.actions: {fileID: -944628639613478452, guid: 2bcd2660ca9b64942af0de543d8d7100, type: 3}
|
||||||
m_UseUCBPForAssetBundles: 0
|
m_UseUCBPForAssetBundles: 0
|
||||||
|
@ -12,7 +12,7 @@ PlayerSettings:
|
|||||||
targetDevice: 2
|
targetDevice: 2
|
||||||
useOnDemandResources: 0
|
useOnDemandResources: 0
|
||||||
accelerometerFrequency: 60
|
accelerometerFrequency: 60
|
||||||
companyName: CNAM
|
companyName: DefaultCompany
|
||||||
productName: GeometryDash
|
productName: GeometryDash
|
||||||
defaultCursor: {fileID: 0}
|
defaultCursor: {fileID: 0}
|
||||||
cursorHotspot: {x: 0, y: 0}
|
cursorHotspot: {x: 0, y: 0}
|
||||||
@ -106,7 +106,7 @@ PlayerSettings:
|
|||||||
xboxEnableFitness: 0
|
xboxEnableFitness: 0
|
||||||
visibleInBackground: 1
|
visibleInBackground: 1
|
||||||
allowFullscreenSwitch: 1
|
allowFullscreenSwitch: 1
|
||||||
fullscreenMode: 3
|
fullscreenMode: 1
|
||||||
xboxSpeechDB: 0
|
xboxSpeechDB: 0
|
||||||
xboxEnableHeadOrientation: 0
|
xboxEnableHeadOrientation: 0
|
||||||
xboxEnableGuest: 0
|
xboxEnableGuest: 0
|
||||||
@ -140,7 +140,7 @@ PlayerSettings:
|
|||||||
loadStoreDebugModeEnabled: 0
|
loadStoreDebugModeEnabled: 0
|
||||||
visionOSBundleVersion: 1.0
|
visionOSBundleVersion: 1.0
|
||||||
tvOSBundleVersion: 1.0
|
tvOSBundleVersion: 1.0
|
||||||
bundleVersion: v1.0.0-staging.3
|
bundleVersion: 1.0
|
||||||
preloadedAssets: []
|
preloadedAssets: []
|
||||||
metroInputSource: 0
|
metroInputSource: 0
|
||||||
wsaTransparentSwapchain: 0
|
wsaTransparentSwapchain: 0
|
||||||
@ -286,107 +286,8 @@ PlayerSettings:
|
|||||||
AndroidAppBundleSizeToValidate: 150
|
AndroidAppBundleSizeToValidate: 150
|
||||||
AndroidReportGooglePlayAppDependencies: 1
|
AndroidReportGooglePlayAppDependencies: 1
|
||||||
androidSymbolsSizeThreshold: 800
|
androidSymbolsSizeThreshold: 800
|
||||||
m_BuildTargetIcons:
|
m_BuildTargetIcons: []
|
||||||
- m_BuildTarget:
|
m_BuildTargetPlatformIcons: []
|
||||||
m_Icons:
|
|
||||||
- serializedVersion: 2
|
|
||||||
m_Icon: {fileID: 2800000, guid: 7941bec4ab82ba5f8a978cf1b4d91010, type: 3}
|
|
||||||
m_Width: 128
|
|
||||||
m_Height: 128
|
|
||||||
m_Kind: 0
|
|
||||||
m_BuildTargetPlatformIcons:
|
|
||||||
- m_BuildTarget: Android
|
|
||||||
m_Icons:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 432
|
|
||||||
m_Height: 432
|
|
||||||
m_Kind: 2
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 324
|
|
||||||
m_Height: 324
|
|
||||||
m_Kind: 2
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 216
|
|
||||||
m_Height: 216
|
|
||||||
m_Kind: 2
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 162
|
|
||||||
m_Height: 162
|
|
||||||
m_Kind: 2
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 108
|
|
||||||
m_Height: 108
|
|
||||||
m_Kind: 2
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 81
|
|
||||||
m_Height: 81
|
|
||||||
m_Kind: 2
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 192
|
|
||||||
m_Height: 192
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 144
|
|
||||||
m_Height: 144
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 96
|
|
||||||
m_Height: 96
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 72
|
|
||||||
m_Height: 72
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 48
|
|
||||||
m_Height: 48
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 36
|
|
||||||
m_Height: 36
|
|
||||||
m_Kind: 1
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 192
|
|
||||||
m_Height: 192
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 144
|
|
||||||
m_Height: 144
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 96
|
|
||||||
m_Height: 96
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 72
|
|
||||||
m_Height: 72
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 48
|
|
||||||
m_Height: 48
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
- m_Textures: []
|
|
||||||
m_Width: 36
|
|
||||||
m_Height: 36
|
|
||||||
m_Kind: 0
|
|
||||||
m_SubKind:
|
|
||||||
m_BuildTargetBatching: []
|
m_BuildTargetBatching: []
|
||||||
m_BuildTargetShaderSettings: []
|
m_BuildTargetShaderSettings: []
|
||||||
m_BuildTargetGraphicsJobs: []
|
m_BuildTargetGraphicsJobs: []
|
||||||
|
@ -18,7 +18,6 @@ TagManager:
|
|||||||
- PortalButtonGroup
|
- PortalButtonGroup
|
||||||
- BonusBoostSpeed
|
- BonusBoostSpeed
|
||||||
- BonusSlowSpeed
|
- BonusSlowSpeed
|
||||||
- Ground
|
|
||||||
layers:
|
layers:
|
||||||
- Default
|
- Default
|
||||||
- TransparentFX
|
- TransparentFX
|
||||||
|