Compare commits
227 Commits
pgd/202503
...
jym/250522
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a0c845095 | ||
| c4486b3c26 | |||
|
|
66f6da34c9 | ||
| d3ce3bcaaf | |||
| 2d3616b9ee | |||
| a76df3c8a3 | |||
| 23ea720bdf | |||
| 3602da0fc3 | |||
| 29aba746e8 | |||
| 1595fb6f19 | |||
| c8d50f9033 | |||
| eb4fbaa9c6 | |||
| 402839f6f4 | |||
|
|
f4c5a0d38a | ||
|
|
8af6478afb | ||
|
|
52fc4ca1fb | ||
|
|
53821f28b1 | ||
| 7eca16e598 | |||
| 7116a959ec | |||
|
|
dde6c81a56 | ||
| 66ea0bee07 | |||
| 6fd6b2b355 | |||
| 163fc67949 | |||
| b54ed47afb | |||
| 7040c46b9b | |||
| 12000db0e2 | |||
| 926ab5190c | |||
| 6b1a150316 | |||
| 1fc2d8d118 | |||
| 987a099eef | |||
|
|
b6ce1d7cc6 | ||
| 36bc97a67c | |||
| bdabb5f4ef | |||
| 4e0a05839b | |||
|
|
bf837a42c7 | ||
| 0b0d236821 | |||
| 4c02c24680 | |||
| 521b7e9de6 | |||
| cd3b70644d | |||
| ec82271fb0 | |||
| 46bf63621d | |||
| aaf4bf0981 | |||
| 41d23c984e | |||
| bdc35636bc | |||
|
|
415b4f5f49 | ||
|
|
59821ac6dc | ||
| 003e52ff2e | |||
|
|
17b472745c | ||
|
|
999c94ed1f | ||
| bfdaeaab19 | |||
| 000e328c6e | |||
| 818dc2e703 | |||
| a74afe0319 | |||
|
|
db43ffbfe1 | ||
| 911d2901ba | |||
| 69995e6d0d | |||
| b2941f6010 | |||
| 5f53518c8b | |||
|
|
b87bc2dc66 | ||
| 5dc44ba995 | |||
| 5dbe535810 | |||
| 0512d1bce3 | |||
|
|
4ccfd08ef6 | ||
|
|
78aa08dc38 | ||
|
|
d9cbd84332 | ||
| 158efff01f | |||
|
|
3a2f634096 | ||
| 3c73f1cdbc | |||
| 036e2dbfeb | |||
| e703d2fcf5 | |||
| 7b62435115 | |||
|
|
16b00a0183 | ||
|
|
297c7b1e53 | ||
|
|
e2683e77c4 | ||
| ed51e6f85a | |||
|
|
6f93f2c02c | ||
|
|
14fef6bb18 | ||
| 33074bbf32 | |||
|
|
cf8ce3303d | ||
| a1476fe166 | |||
| 61c3b40468 | |||
| 51315cbe5f | |||
| f6d787cb19 | |||
|
|
ca40a6bb4a | ||
|
|
265d6159ff | ||
|
|
43cb130001 | ||
|
|
f82c60d1fc | ||
|
|
33b4c73685 | ||
|
|
83d2d17542 | ||
| c324fa6802 | |||
|
|
eaadce1b8d | ||
| 23e903420b | |||
| 0927cce982 | |||
|
|
be2aa42500 | ||
|
|
6611cf4f9b | ||
|
|
f4aae5ecb8 | ||
|
|
332f946465 | ||
|
|
ca9a67a07c | ||
|
|
118e1662f2 | ||
| 71d425e97d | |||
| a79a5389ae | |||
|
|
df07bcf8b0 | ||
|
|
c719b706c1 | ||
| 5fcf8927f9 | |||
| 85c835fcf3 | |||
|
|
6658ed5dcd | ||
|
|
0379f77337 | ||
|
|
a30049da03 | ||
|
|
3f7b667e50 | ||
| ea59282d65 | |||
| 6e9d1b9425 | |||
|
|
87db23e37d | ||
|
|
78c5e3b714 | ||
|
|
a64717a87e | ||
|
|
3f260d2c57 | ||
|
|
ff8e9ce972 | ||
| 4e544cc54d | |||
|
|
66d446cdc7 | ||
|
|
9e5314663e | ||
| 66abc5bdcd | |||
| 9c59e5e867 | |||
|
|
ce2ed90997 | ||
|
|
a373879d75 | ||
|
|
36392ea150 | ||
|
|
21e0e12ccf | ||
| ee265674b2 | |||
| 2ad3fbcf33 | |||
|
|
77b75c63ce | ||
|
|
24cae4c8db | ||
| a44e2c44c4 | |||
|
|
cef08df8e0 | ||
|
|
7cb9a08144 | ||
|
|
99c6a0f6f1 | ||
| c27db88402 | |||
|
|
5cfad8eab4 | ||
| a24205d929 | |||
|
|
7c958faa42 | ||
|
|
e4344e538b | ||
|
|
1f525994d0 | ||
|
|
d4ead516d2 | ||
| 54551b8a24 | |||
| 6bf31ac71c | |||
|
|
1cd614a45d | ||
|
|
2c3f69b0b8 | ||
| eb769bc312 | |||
| 84740b6133 | |||
| beaf61b399 | |||
|
|
1ce63b9870 | ||
|
|
7c24cb0cc3 | ||
|
|
410a3a5bb4 | ||
| afe8652786 | |||
|
|
516412f585 | ||
| 981a1685f5 | |||
| 92c7655ecb | |||
| 62f019c256 | |||
|
|
b962d25930 | ||
|
|
b87ea36afb | ||
|
|
f28d0a09a2 | ||
|
|
16fe55edc6 | ||
| 67fd6739ec | |||
|
|
807ec619e4 | ||
|
|
a63c42e968 | ||
|
|
92e3b0ce9a | ||
|
|
bc48d7e7e1 | ||
|
|
57fa1f08b6 | ||
|
|
d5ea8b03c5 | ||
|
|
514d9f2937 | ||
| df6077e260 | |||
| b36ea4f93c | |||
| e448686a61 | |||
| abbe0cc807 | |||
|
|
ea774416f8 | ||
|
|
6e1fb78966 | ||
|
|
9ac2fa3807 | ||
| 02f318c548 | |||
|
|
7005d76198 | ||
|
|
7f98e1a06c | ||
|
|
98d2b9cc95 | ||
|
|
f8878387f8 | ||
| 7769886bad | |||
| e7630541dc | |||
| 222bfc347b | |||
| 21277cbc22 | |||
| a1d9ff9da4 | |||
| 0f57e1cb24 | |||
| 70c2b7ae57 | |||
| 64ac9c0755 | |||
|
|
4a9ab69e89 | ||
|
|
a46d2b220a | ||
| 86157ee5d8 | |||
|
|
b636b4ca4d | ||
| 53abd9a361 | |||
| a089d9fe6f | |||
|
|
77ce046ff9 | ||
|
|
3f40f681df | ||
| c207777bf6 | |||
| 24057a4102 | |||
| 8d255ef06c | |||
| 5a293f6c2c | |||
| c3c9b498c4 | |||
| f94ef5b5b1 | |||
|
|
2772a3b928 | ||
|
|
32f1f3d956 | ||
| db11ffc5eb | |||
|
|
66dab5acfd | ||
|
|
347c5853c5 | ||
| 8edfe96073 | |||
|
|
9c3a0e02d7 | ||
|
|
2e01bcf527 | ||
|
|
44724629d3 | ||
| a8d39daeb8 | |||
| a105343542 | |||
| 61b28b3bbe | |||
|
|
e5ebe9915c | ||
|
|
64e87aabda | ||
|
|
9d61d84b5c | ||
| 86c830d313 | |||
| 81cc9cda34 | |||
| c0d41d2a7a | |||
| 0c5f601816 | |||
| 50f847d8ea | |||
|
|
fd8b6052bf | ||
|
|
09b5001f3b | ||
|
|
110b2f87ed | ||
|
|
eee79d1145 | ||
|
|
bfc68b3d93 | ||
|
|
65f0199ec6 |
71
.cursorignore
Normal file
71
.cursorignore
Normal file
@@ -0,0 +1,71 @@
|
||||
# Unity 생성 디렉토리
|
||||
/[Ll]ibrary/
|
||||
/[Tt]emp/
|
||||
/[Oo]bj/
|
||||
/[Bb]uild/
|
||||
/[Bb]uilds/
|
||||
/[Ll]ogs/
|
||||
/[Uu]ser[Ss]ettings/
|
||||
|
||||
# Unity 자동 생성 파일
|
||||
*.pidb.meta
|
||||
*.pdb.meta
|
||||
*.mdb.meta
|
||||
|
||||
# Unity3D 충돌 파일
|
||||
sysinfo.txt
|
||||
|
||||
# 빌드 결과물
|
||||
*.apk
|
||||
*.aab
|
||||
*.unitypackage
|
||||
*.app
|
||||
|
||||
# VS/VS Code 설정
|
||||
.vs/
|
||||
.vscode/
|
||||
*.csproj
|
||||
*.sln
|
||||
*.suo
|
||||
*.tmp
|
||||
*.user
|
||||
*.userprefs
|
||||
*.lock
|
||||
*.ide
|
||||
*.ide-shm
|
||||
*.ide-wal
|
||||
|
||||
# OS 생성 파일
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
# 로그 파일
|
||||
*.log
|
||||
|
||||
# 임시 파일
|
||||
*.tmp
|
||||
*.temp
|
||||
*~
|
||||
|
||||
# Unity 에셋 파일
|
||||
*.fbx
|
||||
*.obj
|
||||
*.max
|
||||
*.blend
|
||||
*.dae
|
||||
*.mb
|
||||
*.ma
|
||||
|
||||
# 프로젝트 특정 설정
|
||||
/Assets/SpecialAssets/
|
||||
/Assets/Plugins/ThirdParty/
|
||||
/Assets/StreamingAssets/Config/
|
||||
|
||||
# 임시 작업 디렉토리
|
||||
_temp/
|
||||
_backup/
|
||||
5
.vscode/extensions.json
vendored
Normal file
5
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"visualstudiotoolsforunity.vstuc"
|
||||
]
|
||||
}
|
||||
10
.vscode/launch.json
vendored
Normal file
10
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Attach to Unity",
|
||||
"type": "vstuc",
|
||||
"request": "attach"
|
||||
}
|
||||
]
|
||||
}
|
||||
60
.vscode/settings.json
vendored
Normal file
60
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"files.exclude": {
|
||||
"**/.DS_Store": true,
|
||||
"**/.git": true,
|
||||
"**/.vs": true,
|
||||
"**/.gitmodules": true,
|
||||
"**/.vsconfig": true,
|
||||
"**/*.booproj": true,
|
||||
"**/*.pidb": true,
|
||||
"**/*.suo": true,
|
||||
"**/*.user": true,
|
||||
"**/*.userprefs": true,
|
||||
"**/*.unityproj": true,
|
||||
"**/*.dll": true,
|
||||
"**/*.exe": true,
|
||||
"**/*.pdf": true,
|
||||
"**/*.mid": true,
|
||||
"**/*.midi": true,
|
||||
"**/*.wav": true,
|
||||
"**/*.gif": true,
|
||||
"**/*.ico": true,
|
||||
"**/*.jpg": true,
|
||||
"**/*.jpeg": true,
|
||||
"**/*.png": true,
|
||||
"**/*.psd": true,
|
||||
"**/*.tga": true,
|
||||
"**/*.tif": true,
|
||||
"**/*.tiff": true,
|
||||
"**/*.3ds": true,
|
||||
"**/*.3DS": true,
|
||||
"**/*.fbx": true,
|
||||
"**/*.FBX": true,
|
||||
"**/*.lxo": true,
|
||||
"**/*.LXO": true,
|
||||
"**/*.ma": true,
|
||||
"**/*.MA": true,
|
||||
"**/*.obj": true,
|
||||
"**/*.OBJ": true,
|
||||
"**/*.asset": true,
|
||||
"**/*.cubemap": true,
|
||||
"**/*.flare": true,
|
||||
"**/*.mat": true,
|
||||
"**/*.meta": true,
|
||||
"**/*.prefab": true,
|
||||
"**/*.unity": true,
|
||||
"build/": true,
|
||||
"Build/": true,
|
||||
"Library/": true,
|
||||
"library/": true,
|
||||
"obj/": true,
|
||||
"Obj/": true,
|
||||
"Logs/": true,
|
||||
"logs/": true,
|
||||
"ProjectSettings/": true,
|
||||
"UserSettings/": true,
|
||||
"temp/": true,
|
||||
"Temp/": true
|
||||
},
|
||||
"dotnet.defaultSolution": "OctopusStudio.sln"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b81a68959a265e04896b05dc65cf3bf9
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -5,7 +5,7 @@ using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace XED.UI
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class FontChanger : MonoBehaviour
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using XRLib;
|
||||
using XED;
|
||||
using Studio;
|
||||
|
||||
[CustomAsset(".ini")]
|
||||
|
||||
|
||||
@@ -27,15 +27,15 @@ public class PanelBaseEditor : Editor
|
||||
{
|
||||
base.OnInspectorGUI();
|
||||
|
||||
if (GUILayout.Button("Button Naming"))
|
||||
{
|
||||
ButtonNaming();
|
||||
}
|
||||
//if (GUILayout.Button("Button Naming"))
|
||||
//{
|
||||
// ButtonNaming();
|
||||
//}
|
||||
|
||||
if(GUILayout.Button("Text Titleling"))
|
||||
{
|
||||
TextTitleling();
|
||||
}
|
||||
//if(GUILayout.Button("Text Titleling"))
|
||||
//{
|
||||
// TextTitleling();
|
||||
//}
|
||||
}
|
||||
|
||||
void TextTitleling()
|
||||
|
||||
@@ -10,7 +10,7 @@ using UnityEditor.AddressableAssets.Settings;
|
||||
using UnityEditor.AddressableAssets;
|
||||
#endif
|
||||
|
||||
namespace XED
|
||||
namespace Studio
|
||||
{
|
||||
public class TwinObjectPreprocessingHelper
|
||||
{
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -49,7 +49,7 @@ TextureImporter:
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteBorder: {x: 29, y: 30, z: 29, w: 28}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
@@ -114,7 +114,7 @@ TextureImporter:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
|
||||
BIN
Assets/Image/Hierarchy/clarity_eye-line.png
Normal file
BIN
Assets/Image/Hierarchy/clarity_eye-line.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
130
Assets/Image/Hierarchy/clarity_eye-line.png.meta
Normal file
130
Assets/Image/Hierarchy/clarity_eye-line.png.meta
Normal file
@@ -0,0 +1,130 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 89898a01151c19c4580b1470257609cd
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
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: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
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: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Image/UI.meta
Normal file
8
Assets/Image/UI.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ef1eb64dbdc563248ac417502b9515f8
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Image/UI/image_scroll_up.png
Normal file
BIN
Assets/Image/UI/image_scroll_up.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 201 B |
117
Assets/Image/UI/image_scroll_up.png.meta
Normal file
117
Assets/Image/UI/image_scroll_up.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d5c740338b0b3784783863fc03a6103b
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
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: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
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: 32
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d84a1dea9288c9c42a0e0fa217732145
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/NewStudioPGD.meta
Normal file
8
Assets/NewStudioPGD.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9372de26e0b42914693d16bc5756940f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/NewStudioPGD/DashBoard.meta
Normal file
8
Assets/NewStudioPGD/DashBoard.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 74113b7751418504f8339133a27d9551
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
19
Assets/NewStudioPGD/DashBoard/CreateUIPanel.cs
Normal file
19
Assets/NewStudioPGD/DashBoard/CreateUIPanel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public class CreateUIPanel : MonoBehaviour
|
||||
{
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/NewStudioPGD/DashBoard/CreateUIPanel.cs.meta
Normal file
2
Assets/NewStudioPGD/DashBoard/CreateUIPanel.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e68ae67fb2043e64fb8447ecbd14b793
|
||||
13
Assets/NewStudioPGD/DashBoard/DashBoardHeadLine.cs
Normal file
13
Assets/NewStudioPGD/DashBoard/DashBoardHeadLine.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class DashBoardHeadLine : MonoBehaviour
|
||||
{
|
||||
private RectTransform rectTransform;
|
||||
public RectTransform RectTransform { get { return rectTransform; } }
|
||||
private void Awake()
|
||||
{
|
||||
rectTransform = GetComponent<RectTransform>();
|
||||
}
|
||||
}
|
||||
11
Assets/NewStudioPGD/DashBoard/DashBoardHeadLine.cs.meta
Normal file
11
Assets/NewStudioPGD/DashBoard/DashBoardHeadLine.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 00c1cf356f204f94fb55cfbce82d2d36
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
120
Assets/NewStudioPGD/DashBoard/SDIDashboardTest.cs
Normal file
120
Assets/NewStudioPGD/DashBoard/SDIDashboardTest.cs
Normal file
@@ -0,0 +1,120 @@
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using NUnit.Framework;
|
||||
using Studio.UVC.UI;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using Studio.UI;
|
||||
|
||||
namespace Studio
|
||||
{
|
||||
public class SDIDashboardTest : MonoBehaviour
|
||||
{
|
||||
string testJson = @"
|
||||
{
|
||||
""stockerStackAggregation"": [
|
||||
{
|
||||
""CAPACITY"": ""89.57"",
|
||||
""ENG_EQP_NAME"": ""상온Aging #03"",
|
||||
""KOR_EQP_NAME"": ""상온Aging #03"",
|
||||
""MAXIMUM_CAPACITY"": ""834"",
|
||||
""MAXIMUM_TRAY_CAPACITY"": ""2502"",
|
||||
""RACK_DISABLE_COUNT"": ""4"",
|
||||
""RACK_EMPTY_COUNT"": ""87"",
|
||||
""RACK_LOAD_COUNT"": ""747"",
|
||||
""RESERVATED_RETURN_COUNT"": ""5"",
|
||||
""STOCKER_NAME"": ""HFF09AGN0300"",
|
||||
""TIMESTAMP"": ""2025-03-25T11:59:56.000Z"",
|
||||
""TRAY_CAPACITY"": ""83.25"",
|
||||
""TRAY_COUNT"": ""2083"",
|
||||
""TRAY_REWORK_COUNT_AVG"": ""3"",
|
||||
""TRAY_REWORK_COUNT_MAX"": ""153"",
|
||||
""TRAY_REWORK_COUNT_MIN"": ""0""
|
||||
},
|
||||
{
|
||||
""CAPACITY"": ""78.21"",
|
||||
""ENG_EQP_NAME"": ""상온Aging #01"",
|
||||
""KOR_EQP_NAME"": ""상온Aging #01"",
|
||||
""MAXIMUM_CAPACITY"": ""920"",
|
||||
""MAXIMUM_TRAY_CAPACITY"": ""2800"",
|
||||
""RACK_DISABLE_COUNT"": ""2"",
|
||||
""RACK_EMPTY_COUNT"": ""200"",
|
||||
""RACK_LOAD_COUNT"": ""720"",
|
||||
""RESERVATED_RETURN_COUNT"": ""8"",
|
||||
""STOCKER_NAME"": ""HFF09AGN0100"",
|
||||
""TIMESTAMP"": ""2025-03-25T12:00:56.000Z"",
|
||||
""TRAY_CAPACITY"": ""70.88"",
|
||||
""TRAY_COUNT"": ""1980"",
|
||||
""TRAY_REWORK_COUNT_AVG"": ""5"",
|
||||
""TRAY_REWORK_COUNT_MAX"": ""140"",
|
||||
""TRAY_REWORK_COUNT_MIN"": ""1""
|
||||
},
|
||||
{
|
||||
""CAPACITY"": ""82.73"",
|
||||
""ENG_EQP_NAME"": ""상온Aging #02"",
|
||||
""KOR_EQP_NAME"": ""상온Aging #02"",
|
||||
""MAXIMUM_CAPACITY"": ""850"",
|
||||
""MAXIMUM_TRAY_CAPACITY"": ""2600"",
|
||||
""RACK_DISABLE_COUNT"": ""3"",
|
||||
""RACK_EMPTY_COUNT"": ""146"",
|
||||
""RACK_LOAD_COUNT"": ""704"",
|
||||
""RESERVATED_RETURN_COUNT"": ""7"",
|
||||
""STOCKER_NAME"": ""HFF09AGN0200"",
|
||||
""TIMESTAMP"": ""2025-03-25T12:01:56.000Z"",
|
||||
""TRAY_CAPACITY"": ""76.88"",
|
||||
""TRAY_COUNT"": ""1999"",
|
||||
""TRAY_REWORK_COUNT_AVG"": ""2"",
|
||||
""TRAY_REWORK_COUNT_MAX"": ""120"",
|
||||
""TRAY_REWORK_COUNT_MIN"": ""0""
|
||||
},
|
||||
{
|
||||
""CAPACITY"": ""64.92"",
|
||||
""ENG_EQP_NAME"": ""저온Aging #01"",
|
||||
""KOR_EQP_NAME"": ""저온Aging #01"",
|
||||
""MAXIMUM_CAPACITY"": ""780"",
|
||||
""MAXIMUM_TRAY_CAPACITY"": ""2300"",
|
||||
""RACK_DISABLE_COUNT"": ""5"",
|
||||
""RACK_EMPTY_COUNT"": ""273"",
|
||||
""RACK_LOAD_COUNT"": ""507"",
|
||||
""RESERVATED_RETURN_COUNT"": ""3"",
|
||||
""STOCKER_NAME"": ""HFF09AGN0400"",
|
||||
""TIMESTAMP"": ""2025-03-25T12:02:56.000Z"",
|
||||
""TRAY_CAPACITY"": ""62.83"",
|
||||
""TRAY_COUNT"": ""1870"",
|
||||
""TRAY_REWORK_COUNT_AVG"": ""4"",
|
||||
""TRAY_REWORK_COUNT_MAX"": ""99"",
|
||||
""TRAY_REWORK_COUNT_MIN"": ""0""
|
||||
}
|
||||
]
|
||||
}";
|
||||
|
||||
|
||||
private void TestDict()
|
||||
{
|
||||
var list = new Dictionary<string, Dictionary<string, string>>();
|
||||
|
||||
JObject root = JObject.Parse(testJson);
|
||||
JArray array = (JArray)root["stockerStackAggregation"];
|
||||
|
||||
foreach (JObject obj in array)
|
||||
{
|
||||
var entry = new Dictionary<string, string>();
|
||||
string id = obj["KOR_EQP_NAME"]?.ToString();
|
||||
|
||||
foreach (JProperty prop in obj.Properties())
|
||||
{
|
||||
entry[prop.Name] = prop.Value.ToString();
|
||||
}
|
||||
|
||||
list[id] = entry;
|
||||
}
|
||||
FindAnyObjectByType<UINewLoadFactory>().SetItem(list);
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
TestDict();
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/NewStudioPGD/DashBoard/SDIDashboardTest.cs.meta
Normal file
2
Assets/NewStudioPGD/DashBoard/SDIDashboardTest.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d26fb80f9d6ceb140b999f727f46b103
|
||||
71
Assets/NewStudioPGD/DashBoard/UICircleProgressBar.cs
Normal file
71
Assets/NewStudioPGD/DashBoard/UICircleProgressBar.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Localization;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public class UICircleProgressBar : MonoBehaviour
|
||||
{
|
||||
//private RectTransform FillHandler_Start;
|
||||
//private RectTransform FillHandler_End;
|
||||
|
||||
private Image Image_fill_progressbar;
|
||||
//private Image Image_CricleField_start;
|
||||
private Text Text_Value;
|
||||
private TextMeshProUGUI Text_Average;
|
||||
|
||||
public Color textColor;
|
||||
public bool IsEndPointOn;
|
||||
public void Init()
|
||||
{
|
||||
var recttransforms = GetComponentsInChildren<RectTransform>();
|
||||
var images = GetComponentsInChildren<Image>();
|
||||
|
||||
//FillHandler_Start = recttransforms.First(x=>x.name.Equals(nameof(FillHandler_Start)));
|
||||
//FillHandler_End = recttransforms.First(x => x.name.Equals(nameof(FillHandler_End)));
|
||||
//if(IsEndPointOn == false)
|
||||
// FillHandler_End.gameObject.SetActive(false);
|
||||
Image_fill_progressbar = images.First(x => x.name.Equals(nameof(Image_fill_progressbar)));
|
||||
//Image_CricleField_start = images.First(x => x.name.Equals(nameof(Image_CricleField_start)));
|
||||
|
||||
Text_Value = GetComponentInChildren<Text>();
|
||||
Text_Average = GetComponentInChildren<TextMeshProUGUI>();
|
||||
Text_Average.color = textColor;
|
||||
}
|
||||
|
||||
public float degree;
|
||||
public void SetValue(float value)
|
||||
{
|
||||
var clampAmount = Mathf.Clamp(value / 100f, 0, 1);
|
||||
Image_fill_progressbar.fillAmount = clampAmount;
|
||||
var color = SetColor(value);
|
||||
Image_fill_progressbar.color = color;
|
||||
//Image_CricleField_start.color = color;
|
||||
//var clampZ = Mathf.Clamp((value * 3.6f) -40f, 35f, 320f);
|
||||
//FillHandler_Start.transform.localEulerAngles = new Vector3(0, 0, -clampZ);
|
||||
Text_Value.text =$"{string.Format("{0:N1}" ,value)}%";
|
||||
}
|
||||
|
||||
private Color SetColor(float value)
|
||||
{
|
||||
var color = Color.white;
|
||||
|
||||
if (value > 90f)
|
||||
{
|
||||
color = Color.red;
|
||||
}
|
||||
else if (value > 80f)
|
||||
{
|
||||
color = Color.yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
color = Color.green;
|
||||
}
|
||||
|
||||
return color;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5fd0588328460cf42b8e48547e25a5a3
|
||||
50
Assets/NewStudioPGD/DashBoard/UIDetailButton.cs
Normal file
50
Assets/NewStudioPGD/DashBoard/UIDetailButton.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public class UIDetailButton : UIBase, ITabButton
|
||||
{
|
||||
public int Index { get; set; }
|
||||
private Button button;
|
||||
[SerializeField]
|
||||
private bool selected = false;
|
||||
public UnityEvent<int, bool> onClick = new UnityEvent<int, bool>();
|
||||
|
||||
public void Init()
|
||||
{
|
||||
button = GetComponent<UnityEngine.UI.Button>();
|
||||
|
||||
if (button != null)
|
||||
{
|
||||
button.onClick.AddListener(() =>
|
||||
{
|
||||
if (selected)
|
||||
{
|
||||
selected = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
selected = true;
|
||||
}
|
||||
onClick.Invoke(Index, selected);
|
||||
});
|
||||
}
|
||||
if (selected) Select();
|
||||
else Deselect();
|
||||
}
|
||||
|
||||
public void Deselect()
|
||||
{
|
||||
selected = false;
|
||||
}
|
||||
|
||||
public void Select()
|
||||
{
|
||||
selected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
Assets/NewStudioPGD/DashBoard/UIDetailButton.cs.meta
Normal file
2
Assets/NewStudioPGD/DashBoard/UIDetailButton.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4fbbf8626703b7e479b10ed7a18b8380
|
||||
93
Assets/NewStudioPGD/DashBoard/UINewLoadFactory.cs
Normal file
93
Assets/NewStudioPGD/DashBoard/UINewLoadFactory.cs
Normal file
@@ -0,0 +1,93 @@
|
||||
using Studio.UVC.Controller.UI;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEditor.Localization.Plugins.XLIFF.V12;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public class UINewLoadFactory : PanelBase
|
||||
{
|
||||
private TextMeshProUGUI Text_LoadFactory;
|
||||
private TabController tabController = new();
|
||||
protected ScrollRect scrollRect;
|
||||
private DashBoardHeadLine headLine;
|
||||
|
||||
protected Dictionary<string, UINewStockerValue> itemTable = new();
|
||||
private UINewStockerValue item;
|
||||
private RectTransform rect;
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
base.AfterAwake();
|
||||
//titleKey = "realtime_load_factor";
|
||||
Init();
|
||||
}
|
||||
|
||||
private void Init()
|
||||
{
|
||||
rect = GetComponent<RectTransform>();
|
||||
headLine = GetComponentInChildren<DashBoardHeadLine>();
|
||||
Text_LoadFactory = headLine.GetComponentInChildren<TextMeshProUGUI>();
|
||||
scrollRect = GetComponentInChildren<ScrollRect>();
|
||||
|
||||
ExpandYsize();
|
||||
}
|
||||
|
||||
private void ExpandYsize()
|
||||
{
|
||||
var expandSize = 28f + 12f + 24f + 4f;
|
||||
expandSize += itemTable.Count * 169f + 4f + ((itemTable.Count - 1) * 16f);
|
||||
rect.sizeDelta = new Vector2(rect.sizeDelta.x, expandSize);
|
||||
}
|
||||
|
||||
private UINewStockerValue CreateItem(string name)
|
||||
{
|
||||
if (item == null)
|
||||
item = Resources.Load<UINewStockerValue>(UINewStockerValue.PrefabPath);
|
||||
|
||||
var newItem = Instantiate<UINewStockerValue>(item, scrollRect.content);
|
||||
//newItem.name = name;
|
||||
newItem.titleName = name;
|
||||
newItem.transform.localScale = Vector3.one;
|
||||
newItem.InIt(tabController);
|
||||
newItem.Button_Details.onClick.AddListener((int index, bool selected) =>
|
||||
{
|
||||
if (selected)
|
||||
{
|
||||
tabController.Select(index);
|
||||
}
|
||||
else
|
||||
tabController.Deselect();
|
||||
});
|
||||
|
||||
tabController.Add(newItem.Button_Details, newItem);
|
||||
|
||||
return newItem;
|
||||
}
|
||||
|
||||
public void SetItem(Dictionary<string, Dictionary<string, string>> entitiy)
|
||||
{
|
||||
foreach (var item in entitiy.Values)
|
||||
{
|
||||
string name = item["KOR_EQP_NAME"].Split(' ')[0];
|
||||
if (!itemTable.ContainsKey(name))
|
||||
{
|
||||
itemTable.Add(name, CreateItem(name));
|
||||
ExpandYsize();
|
||||
}
|
||||
itemTable[name].SetItem(item);
|
||||
}
|
||||
}
|
||||
|
||||
private void Deselect()
|
||||
{
|
||||
tabController.Deselect();
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
11
Assets/NewStudioPGD/DashBoard/UINewLoadFactory.cs.meta
Normal file
11
Assets/NewStudioPGD/DashBoard/UINewLoadFactory.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 91f1945b0d450c7449b410c927d0abf9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
71
Assets/NewStudioPGD/DashBoard/UINewLoadFactroyItem.cs
Normal file
71
Assets/NewStudioPGD/DashBoard/UINewLoadFactroyItem.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Localization;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public class UINewLoadFactroyItem : UIBase
|
||||
{
|
||||
public static string PrefabsPath = "Prefabs/NewDashBoard/UINewLoadFactroyItem";
|
||||
|
||||
private TextMeshProUGUI Text_Total;
|
||||
private TextMeshProUGUI Text_LoadedQuantity;
|
||||
private TextMeshProUGUI Text_RoomName;
|
||||
private TextMeshProUGUI Text_Rate;
|
||||
private Image Image_Chart;
|
||||
private Image Image_Chart_Bg;
|
||||
|
||||
private float percent;
|
||||
public float Percent { get => percent; }
|
||||
|
||||
private int total;
|
||||
public int Total { get => total; }
|
||||
private int trayCount;
|
||||
public int TrayCount { get => trayCount; }
|
||||
|
||||
private bool isFirst = false;
|
||||
private RectTransform rect;
|
||||
public RectTransform Rect { get { return rect; } }
|
||||
|
||||
public Color color;
|
||||
|
||||
private void Init()
|
||||
{
|
||||
rect = GetComponent<RectTransform>();
|
||||
var textmeshpros = GetComponentsInChildren<TextMeshProUGUI>();
|
||||
Text_Total = textmeshpros.First(x => x.name.Equals(nameof(Text_Total)));
|
||||
Text_Rate = textmeshpros.First(x => x.name.Equals(nameof(Text_Rate)));
|
||||
Text_LoadedQuantity = textmeshpros.First(x => x.name.Equals(nameof(Text_LoadedQuantity)));
|
||||
Text_RoomName = textmeshpros.First(x => x.name.Equals(nameof(Text_RoomName)));
|
||||
var images = GetComponentsInChildren<Image>();
|
||||
Image_Chart_Bg = images.First(x => x.name.Equals(nameof(Image_Chart_Bg)));
|
||||
Image_Chart = images.First(x => x.name.Equals(nameof(Image_Chart)));
|
||||
Image_Chart_Bg.color = color;
|
||||
Image_Chart.color = color;
|
||||
isFirst = true;
|
||||
}
|
||||
|
||||
|
||||
public void SetItem(string roomName, string value, string total =null, string count = null)
|
||||
{
|
||||
if (isFirst == false)
|
||||
Init();
|
||||
|
||||
Text_RoomName.text = roomName;
|
||||
float.TryParse(value, out var chartValue);
|
||||
|
||||
Image_Chart.fillAmount = chartValue / 100f;
|
||||
percent = chartValue;
|
||||
Text_Rate.text = $"{chartValue}%";
|
||||
if(total != null)
|
||||
{
|
||||
Text_Total.text = $"{count}/{total}ea";
|
||||
this.trayCount = int.Parse(count);
|
||||
this.total = int.Parse(total);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/NewStudioPGD/DashBoard/UINewLoadFactroyItem.cs.meta
Normal file
11
Assets/NewStudioPGD/DashBoard/UINewLoadFactroyItem.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cd225f4eeab64434ca41baeccfbba564
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
108
Assets/NewStudioPGD/DashBoard/UINewStockerValue.cs
Normal file
108
Assets/NewStudioPGD/DashBoard/UINewStockerValue.cs
Normal file
@@ -0,0 +1,108 @@
|
||||
using Studio.UVC.Controller.UI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Localization;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public class UINewStockerValue : MonoBehaviour, ITabContent
|
||||
{
|
||||
public static string PrefabPath = "Prefabs/NewDashBoard/UINewStockerValue";
|
||||
|
||||
private TextMeshProUGUI Text_Title;
|
||||
private TextMeshProUGUI Text_Total;
|
||||
private TextMeshProUGUI Text_TrayCount;
|
||||
private TextMeshProUGUI Text_TrayTotalCount;
|
||||
|
||||
private UICircleProgressBar circle_Progressbar;
|
||||
private UIDetailButton button_viewDetails;
|
||||
public Action onCloseSidePanel;
|
||||
public UIDetailButton Button_Details { get => button_viewDetails; }
|
||||
|
||||
public string titleName;
|
||||
private UISideLoadFactory sideItem;
|
||||
|
||||
private RectTransform rect;
|
||||
private Image image;
|
||||
public int Index { get; set; }
|
||||
private TabController controller;
|
||||
|
||||
public void InIt(TabController tabController)
|
||||
{
|
||||
controller = tabController;
|
||||
rect = GetComponent<RectTransform>();
|
||||
image = GetComponent<Image>();
|
||||
var textMeshPros = GetComponentsInChildren<TextMeshProUGUI>();
|
||||
Text_Title = textMeshPros.First(x => x.name.Equals(nameof(Text_Title)));
|
||||
Text_Total = textMeshPros.First(x => x.name.Equals(nameof(Text_Total)));
|
||||
Text_TrayCount = textMeshPros.First(x => x.name.Equals(nameof(Text_TrayCount)));
|
||||
Text_TrayTotalCount = textMeshPros.First(x => x.name.Equals(nameof(Text_TrayTotalCount)));
|
||||
circle_Progressbar = GetComponentInChildren<UICircleProgressBar>();
|
||||
circle_Progressbar.Init();
|
||||
button_viewDetails = GetComponentInChildren<UIDetailButton>();
|
||||
button_viewDetails.Init();
|
||||
sideItem = Create();
|
||||
sideItem.Init();
|
||||
sideItem.onClickClose += DeSelect;
|
||||
sideItem.SetPosition(new Vector3(rect.position.x - (rect.sizeDelta.x * 0.5f), rect.position.y));
|
||||
image.enabled = false;
|
||||
}
|
||||
|
||||
internal void SetItem(Dictionary<string, string> entity)
|
||||
{
|
||||
sideItem.SetItem(titleName, entity);
|
||||
Average();
|
||||
}
|
||||
|
||||
private void DeSelect()
|
||||
{
|
||||
//À̹ÌÁö
|
||||
image.enabled = false;
|
||||
//button_viewDetails.Deselect();
|
||||
controller.Deselect();
|
||||
}
|
||||
|
||||
private void Average()
|
||||
{
|
||||
circle_Progressbar.SetValue(sideItem.Average);
|
||||
Text_Title.text = titleName;
|
||||
Text_Total.text = "total";
|
||||
Text_TrayCount.text = $"{string.Format("{0:#,###}", sideItem.TrayCount)}";
|
||||
Text_TrayTotalCount.text = $"/{string.Format("{0:#,###}", sideItem.Total)}ea";
|
||||
Text_TrayCount.rectTransform.anchoredPosition = new Vector3(-(Text_TrayCount.preferredWidth), Text_TrayCount.rectTransform.anchoredPosition.y);
|
||||
Text_Total.rectTransform.anchoredPosition = new Vector3(-(Text_TrayCount.preferredWidth) - Text_Total.rectTransform.sizeDelta.x - 4f, Text_Total.rectTransform.anchoredPosition.y);
|
||||
}
|
||||
|
||||
private UISideLoadFactory Create()
|
||||
{
|
||||
var asset = Resources.Load<GameObject>(UISideLoadFactory.PrefabsPath);
|
||||
var canvas = FindAnyObjectByType<CreateUIPanel>();
|
||||
var item = Instantiate<GameObject>(asset, canvas.transform);
|
||||
item.transform.localScale = Vector3.one;
|
||||
var panel = item.AddComponent<UISidePanel>();
|
||||
return panel;
|
||||
}
|
||||
|
||||
public void Show()
|
||||
{
|
||||
if (sideItem == null)
|
||||
return;
|
||||
image.enabled = true;
|
||||
sideItem.SetPosition(new Vector3(rect.position.x - (rect.sizeDelta.x * 0.5f), rect.position.y));
|
||||
sideItem.Show();
|
||||
}
|
||||
|
||||
public void Hide()
|
||||
{
|
||||
if (sideItem == null)
|
||||
return;
|
||||
image.enabled = false;
|
||||
sideItem.Hide();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
11
Assets/NewStudioPGD/DashBoard/UINewStockerValue.cs.meta
Normal file
11
Assets/NewStudioPGD/DashBoard/UINewStockerValue.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ad249143eaba4224aa632f3ce1fc9d6c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
124
Assets/NewStudioPGD/DashBoard/UISideLoadFactory.cs
Normal file
124
Assets/NewStudioPGD/DashBoard/UISideLoadFactory.cs
Normal file
@@ -0,0 +1,124 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public abstract class UISideLoadFactory : MonoBehaviour
|
||||
{
|
||||
public static string PrefabsPath = "Prefabs/NewDashBoard/UISideLoadFactory";
|
||||
|
||||
private RectTransform canvasRect;
|
||||
private Button button_close;
|
||||
protected string titleName;
|
||||
protected TextMeshProUGUI Text_Title;
|
||||
protected ScrollRect scrollRect;
|
||||
|
||||
private UINewLoadFactroyItem item;
|
||||
protected RectTransform rect;
|
||||
|
||||
protected Dictionary<string, UINewLoadFactroyItem> itemTable = new();
|
||||
|
||||
protected float average;
|
||||
public float Average { get => average; }
|
||||
|
||||
protected int total;
|
||||
public int Total { get => total; }
|
||||
protected int trayCount;
|
||||
public int TrayCount { get => trayCount; }
|
||||
|
||||
public virtual void Init()
|
||||
{
|
||||
rect = GetComponent<RectTransform>();
|
||||
button_close = GetComponentInChildren<Button>();
|
||||
Text_Title = GetComponentInChildren<TextMeshProUGUI>();
|
||||
scrollRect = GetComponentInChildren<ScrollRect>();
|
||||
canvasRect = FindAnyObjectByType<CreateUIPanel>().GetComponent<RectTransform>();
|
||||
button_close.onClick.AddListener(OnClickClose);
|
||||
}
|
||||
|
||||
public Action onClickClose;
|
||||
private void OnClickClose()
|
||||
{
|
||||
Hide();
|
||||
onClickClose?.Invoke();
|
||||
}
|
||||
|
||||
public virtual void Show()
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
}
|
||||
public virtual void Hide()
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
public abstract void SetItem(string titleName, Dictionary<string, string> item);
|
||||
public abstract void ExpandYsize();
|
||||
public virtual void SetPosition(Vector3 size)
|
||||
{
|
||||
var xPos = + size.x - rect.sizeDelta.x-32f;
|
||||
var yPos = size.y;
|
||||
rect.position = new Vector2(xPos, yPos);
|
||||
Vector3 minPosition = canvasRect.rect.min - rect.rect.min;
|
||||
Vector3 maxPosition = canvasRect.rect.max - rect.rect.max;
|
||||
yPos = Mathf.Clamp(canvasRect.localPosition.y, minPosition.y, maxPosition.y - 56f);
|
||||
rect.position = new Vector2(xPos, rect.position.y);
|
||||
}
|
||||
|
||||
protected void AverageLoadFactory()
|
||||
{
|
||||
var total = 0f;
|
||||
foreach (var baritem in itemTable)
|
||||
{
|
||||
if (baritem.Key.Equals("average"))
|
||||
continue;
|
||||
var item = baritem.Value;
|
||||
total += item.Percent;
|
||||
}
|
||||
average = total / (float)itemTable.Count;
|
||||
}
|
||||
protected void TotalLoadedQuantity()
|
||||
{
|
||||
var traycount = 0;
|
||||
var total = 0;
|
||||
|
||||
foreach (var quantityBar in itemTable)
|
||||
{
|
||||
if (quantityBar.Key.Equals("total"))
|
||||
continue;
|
||||
var item = quantityBar.Value;
|
||||
traycount += item.TrayCount;
|
||||
total += item.Total;
|
||||
}
|
||||
|
||||
this.total = total;
|
||||
this.trayCount = traycount;
|
||||
}
|
||||
|
||||
protected UINewLoadFactroyItem BaseSetLoadFactory(string key, RectTransform parent = null)
|
||||
{
|
||||
if (!itemTable.ContainsKey(key))
|
||||
{
|
||||
var item = CreateItem(parent);
|
||||
itemTable.Add(key, item);
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public UINewLoadFactroyItem CreateItem(RectTransform parent)
|
||||
{
|
||||
if (item == null)
|
||||
item = Resources.Load<UINewLoadFactroyItem>(UINewLoadFactroyItem.PrefabsPath);
|
||||
|
||||
parent = parent == null ? scrollRect.content : parent;
|
||||
var newItem = Instantiate<UINewLoadFactroyItem>(item, parent);
|
||||
newItem.transform.localScale = Vector3.one;
|
||||
|
||||
return newItem;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
11
Assets/NewStudioPGD/DashBoard/UISideLoadFactory.cs.meta
Normal file
11
Assets/NewStudioPGD/DashBoard/UISideLoadFactory.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 123a62780b21b4c4b9bb3e25558ef1a5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
37
Assets/NewStudioPGD/DashBoard/UISidePanel.cs
Normal file
37
Assets/NewStudioPGD/DashBoard/UISidePanel.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.Linq;
|
||||
using UnityEngine;
|
||||
using Studio;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public class UISidePanel : UISideLoadFactory
|
||||
{
|
||||
public override void Init()
|
||||
{
|
||||
base.Init();
|
||||
}
|
||||
|
||||
public override void ExpandYsize()
|
||||
{
|
||||
var expandSize = 28f + 12f + 24f + 4f;
|
||||
expandSize += itemTable.Count * 48f + 4f + ((itemTable.Count - 1) * 16f);
|
||||
rect.sizeDelta = new Vector2(rect.sizeDelta.x, expandSize);
|
||||
}
|
||||
|
||||
public override void SetItem(string titleName, Dictionary<string, string> entitiy)
|
||||
{
|
||||
string name = entitiy["KOR_EQP_NAME"].Split(' ')[1];
|
||||
if (!itemTable.ContainsKey(name))
|
||||
{
|
||||
BaseSetLoadFactory(name);
|
||||
ExpandYsize();
|
||||
}
|
||||
Text_Title.text = titleName;
|
||||
itemTable[name].SetItem(name, entitiy["CAPACITY"], entitiy["MAXIMUM_CAPACITY"], entitiy["RACK_LOAD_COUNT"]);
|
||||
AverageLoadFactory();
|
||||
TotalLoadedQuantity();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
11
Assets/NewStudioPGD/DashBoard/UISidePanel.cs.meta
Normal file
11
Assets/NewStudioPGD/DashBoard/UISidePanel.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 76518525062edbe4684f045de11d04eb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8007
Assets/NewStudioPGD/NewStudioPGD.unity
Normal file
8007
Assets/NewStudioPGD/NewStudioPGD.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/NewStudioPGD/NewStudioPGD.unity.meta
Normal file
7
Assets/NewStudioPGD/NewStudioPGD.unity.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: da3cfbbc493fa584d966b4b64ee3839e
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/NewStudioPGD/Prefabs.meta
Normal file
8
Assets/NewStudioPGD/Prefabs.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aaaff30873d6161488de14af0f2d2d10
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
5468
Assets/NewStudioPGD/Prefabs/Canvas_Popup.prefab
Normal file
5468
Assets/NewStudioPGD/Prefabs/Canvas_Popup.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/NewStudioPGD/Prefabs/Canvas_Popup.prefab.meta
Normal file
7
Assets/NewStudioPGD/Prefabs/Canvas_Popup.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 23a5b62354b63214e81741610e6e66e2
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
412
Assets/NewStudioPGD/Prefabs/Canvas_Static.prefab
Normal file
412
Assets/NewStudioPGD/Prefabs/Canvas_Static.prefab
Normal file
@@ -0,0 +1,412 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &7451172879358009799
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3552315189416210175}
|
||||
- component: {fileID: 6578968748929352975}
|
||||
- component: {fileID: 4005249032338589597}
|
||||
- component: {fileID: 248529643077793272}
|
||||
- component: {fileID: 6396887144822592093}
|
||||
m_Layer: 5
|
||||
m_Name: Canvas_Static
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &3552315189416210175
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7451172879358009799}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 82854068092705301}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!223 &6578968748929352975
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7451172879358009799}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 0
|
||||
m_Camera: {fileID: 0}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 0
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 0
|
||||
m_AdditionalShaderChannelsFlag: 25
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 1
|
||||
m_TargetDisplay: 0
|
||||
--- !u!114 &4005249032338589597
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7451172879358009799}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_UiScaleMode: 1
|
||||
m_ReferencePixelsPerUnit: 100
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||
m_ScreenMatchMode: 1
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
m_DynamicPixelsPerUnit: 1
|
||||
m_PresetInfoIsWorld: 0
|
||||
--- !u!114 &248529643077793272
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7451172879358009799}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_IgnoreReversedGraphics: 1
|
||||
m_BlockingObjects: 0
|
||||
m_BlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
--- !u!114 &6396887144822592093
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7451172879358009799}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 7b45b7347fd0fe24f80dc309e5f1917a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
studiopanel_topbar: {fileID: 0}
|
||||
--- !u!1001 &6087323117441084412
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 3552315189416210175}
|
||||
m_Modifications:
|
||||
- target: {fileID: 377768901763584008, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 377768901763584008, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 377768901763584008, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 377768901763584008, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 377768901763584008, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1105169851982576340, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Panel_Topbar
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3124645978463403787, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3124645978463403787, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3124645978463403787, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3124645978463403787, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3124645978463403787, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4195798947008782306, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4195798947008782306, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4195798947008782306, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4195798947008782306, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4195798947008782306, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4258805442045697811, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4258805442045697811, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4258805442045697811, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4258805442045697811, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4258805442045697811, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4994189035301675261, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4994189035301675261, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4994189035301675261, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4994189035301675261, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4994189035301675261, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 48
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6340558249613605857, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7049248817799997631, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8236132945779869188, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8263605668819617717, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8263605668819617717, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8263605668819617717, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8263605668819617717, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8263605668819617717, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8386508010109362723, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8386508010109362723, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8386508010109362723, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8386508010109362723, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8386508010109362723, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8483169145141598472, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8483169145141598472, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8483169145141598472, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8483169145141598472, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8483169145141598472, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9131030912427371342, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9131030912427371342, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9131030912427371342, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9131030912427371342, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9131030912427371342, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
--- !u!224 &82854068092705301 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 6151036698135753193, guid: 13ace7584c1d4514cb2218354647e355, type: 3}
|
||||
m_PrefabInstance: {fileID: 6087323117441084412}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
7
Assets/NewStudioPGD/Prefabs/Canvas_Static.prefab.meta
Normal file
7
Assets/NewStudioPGD/Prefabs/Canvas_Static.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f2aeca4b33a9e7948ab82c4f02cae2f2
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
676
Assets/NewStudioPGD/SDIDashboardTest.unity
Normal file
676
Assets/NewStudioPGD/SDIDashboardTest.unity
Normal file
@@ -0,0 +1,676 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!29 &1
|
||||
OcclusionCullingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_OcclusionBakeSettings:
|
||||
smallestOccluder: 5
|
||||
smallestHole: 0.25
|
||||
backfaceThreshold: 100
|
||||
m_SceneGUID: 00000000000000000000000000000000
|
||||
m_OcclusionCullingData: {fileID: 0}
|
||||
--- !u!104 &2
|
||||
RenderSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 10
|
||||
m_Fog: 0
|
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_FogMode: 3
|
||||
m_FogDensity: 0.01
|
||||
m_LinearFogStart: 0
|
||||
m_LinearFogEnd: 300
|
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||
m_AmbientIntensity: 1
|
||||
m_AmbientMode: 0
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_HaloStrength: 0.5
|
||||
m_FlareStrength: 1
|
||||
m_FlareFadeSpeed: 3
|
||||
m_HaloTexture: {fileID: 0}
|
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_DefaultReflectionMode: 0
|
||||
m_DefaultReflectionResolution: 128
|
||||
m_ReflectionBounces: 1
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 13
|
||||
m_BakeOnSceneLoad: 0
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 1
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 12
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 256
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVRDenoiserTypeDirect: 1
|
||||
m_PVRDenoiserTypeIndirect: 1
|
||||
m_PVRDenoiserTypeAO: 1
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 1
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 1
|
||||
m_PVRFilteringGaussRadiusAO: 1
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_LightingSettings: {fileID: 0}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 3
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.5
|
||||
agentHeight: 2
|
||||
agentSlope: 45
|
||||
agentClimb: 0.4
|
||||
ledgeDropHeight: 0
|
||||
maxJumpAcrossDistance: 0
|
||||
minRegionArea: 2
|
||||
manualCellSize: 0
|
||||
cellSize: 0.16666667
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
buildHeightMesh: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &376035076
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 376035080}
|
||||
- component: {fileID: 376035079}
|
||||
- component: {fileID: 376035078}
|
||||
- component: {fileID: 376035077}
|
||||
- component: {fileID: 376035081}
|
||||
m_Layer: 5
|
||||
m_Name: Canvas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &376035077
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 376035076}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_IgnoreReversedGraphics: 1
|
||||
m_BlockingObjects: 0
|
||||
m_BlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
--- !u!114 &376035078
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 376035076}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_UiScaleMode: 0
|
||||
m_ReferencePixelsPerUnit: 100
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 800, y: 600}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
m_DynamicPixelsPerUnit: 1
|
||||
m_PresetInfoIsWorld: 0
|
||||
--- !u!223 &376035079
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 376035076}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 0
|
||||
m_Camera: {fileID: 0}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 0
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 0
|
||||
m_AdditionalShaderChannelsFlag: 25
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
--- !u!224 &376035080
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 376035076}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 697611690}
|
||||
- {fileID: 1795189930}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!114 &376035081
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 376035076}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d26fb80f9d6ceb140b999f727f46b103, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &666503572
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 666503575}
|
||||
- component: {fileID: 666503574}
|
||||
- component: {fileID: 666503573}
|
||||
m_Layer: 0
|
||||
m_Name: EventSystem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &666503573
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 666503572}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SendPointerHoverToParent: 1
|
||||
m_HorizontalAxis: Horizontal
|
||||
m_VerticalAxis: Vertical
|
||||
m_SubmitButton: Submit
|
||||
m_CancelButton: Cancel
|
||||
m_InputActionsPerSecond: 10
|
||||
m_RepeatDelay: 0.5
|
||||
m_ForceModuleActive: 0
|
||||
--- !u!114 &666503574
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 666503572}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_FirstSelected: {fileID: 0}
|
||||
m_sendNavigationEvents: 1
|
||||
m_DragThreshold: 10
|
||||
--- !u!4 &666503575
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 666503572}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &697611689
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 376035080}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1820745982008057259, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Panel_LoadFactory
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 280
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 957
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: -1127
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 496
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
--- !u!224 &697611690 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 4799288656761109227, guid: 7ebf2c586f4607647a370d997e3eb470, type: 3}
|
||||
m_PrefabInstance: {fileID: 697611689}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &1795189929
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1795189930}
|
||||
- component: {fileID: 1795189931}
|
||||
m_Layer: 5
|
||||
m_Name: CreateUIPanel
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1795189930
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1795189929}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 376035080}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1795189931
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1795189929}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e68ae67fb2043e64fb8447ecbd14b793, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &1900725046
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1900725049}
|
||||
- component: {fileID: 1900725048}
|
||||
- component: {fileID: 1900725047}
|
||||
m_Layer: 0
|
||||
m_Name: Main Camera
|
||||
m_TagString: MainCamera
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!81 &1900725047
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1900725046}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &1900725048
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1900725046}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_Iso: 200
|
||||
m_ShutterSpeed: 0.005
|
||||
m_Aperture: 16
|
||||
m_FocusDistance: 10
|
||||
m_FocalLength: 50
|
||||
m_BladeCount: 5
|
||||
m_Curvature: {x: 2, y: 11}
|
||||
m_BarrelClipping: 0.25
|
||||
m_Anamorphism: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.3
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
orthographic size: 5
|
||||
m_Depth: -1
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 3
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 1
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!4 &1900725049
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1900725046}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 1, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1900725526
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1900725528}
|
||||
- component: {fileID: 1900725527}
|
||||
- component: {fileID: 1900725529}
|
||||
m_Layer: 0
|
||||
m_Name: Directional Light
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!108 &1900725527
|
||||
Light:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1900725526}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 11
|
||||
m_Type: 1
|
||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_InnerSpotAngle: 21.80208
|
||||
m_CookieSize: 10
|
||||
m_Shadows:
|
||||
m_Type: 2
|
||||
m_Resolution: -1
|
||||
m_CustomResolution: -1
|
||||
m_Strength: 1
|
||||
m_Bias: 0.05
|
||||
m_NormalBias: 0.4
|
||||
m_NearPlane: 0.2
|
||||
m_CullingMatrixOverride:
|
||||
e00: 1
|
||||
e01: 0
|
||||
e02: 0
|
||||
e03: 0
|
||||
e10: 0
|
||||
e11: 1
|
||||
e12: 0
|
||||
e13: 0
|
||||
e20: 0
|
||||
e21: 0
|
||||
e22: 1
|
||||
e23: 0
|
||||
e30: 0
|
||||
e31: 0
|
||||
e32: 0
|
||||
e33: 1
|
||||
m_UseCullingMatrixOverride: 0
|
||||
m_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingLayerMask: 1
|
||||
m_Lightmapping: 4
|
||||
m_LightShadowCasterMode: 0
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_UseBoundingSphereOverride: 0
|
||||
m_UseViewFrustumForShadowCasterCull: 1
|
||||
m_ForceVisible: 0
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
m_LightUnit: 1
|
||||
m_LuxAtDistance: 1
|
||||
m_EnableSpotReflector: 1
|
||||
--- !u!4 &1900725528
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1900725526}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||
--- !u!114 &1900725529
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1900725526}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Version: 3
|
||||
m_UsePipelineSettings: 1
|
||||
m_AdditionalLightsShadowResolutionTier: 2
|
||||
m_LightLayerMask: 1
|
||||
m_RenderingLayers: 1
|
||||
m_CustomShadowLayers: 0
|
||||
m_ShadowLayerMask: 1
|
||||
m_ShadowRenderingLayers: 1
|
||||
m_LightCookieSize: {x: 1, y: 1}
|
||||
m_LightCookieOffset: {x: 0, y: 0}
|
||||
m_SoftShadowQuality: 0
|
||||
--- !u!1660057539 &9223372036854775807
|
||||
SceneRoots:
|
||||
m_ObjectHideFlags: 0
|
||||
m_Roots:
|
||||
- {fileID: 1900725049}
|
||||
- {fileID: 1900725528}
|
||||
- {fileID: 376035080}
|
||||
- {fileID: 666503575}
|
||||
7
Assets/NewStudioPGD/SDIDashboardTest.unity.meta
Normal file
7
Assets/NewStudioPGD/SDIDashboardTest.unity.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8bfcb84f3e9107e4ebf7122a97799cfa
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a7c7d3c156415e34fa2a225d94bbca75
|
||||
guid: d40a29733fa39c140bd24756d24d50e3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
8
Assets/NewStudioPGD/Scripts/Command.meta
Normal file
8
Assets/NewStudioPGD/Scripts/Command.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: af761925d50d5024fb038ceb9cb1e386
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
25
Assets/NewStudioPGD/Scripts/Command/ExitProgramCommand.cs
Normal file
25
Assets/NewStudioPGD/Scripts/Command/ExitProgramCommand.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Studio.Command
|
||||
{
|
||||
public class ExitProgramCommand : IIrreversibleCommand
|
||||
{
|
||||
public ExitProgramCommand()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public string id { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }
|
||||
|
||||
public bool CanExecute()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
Debug.Log("Exit");
|
||||
Application.Quit();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5e265f61efc5e44f8dcaad35017208a
|
||||
8
Assets/NewStudioPGD/Scripts/Manager.meta
Normal file
8
Assets/NewStudioPGD/Scripts/Manager.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 474df4a4abb15124fad7ca53534b2ffc
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,33 @@
|
||||
namespace Studio.Manage
|
||||
{
|
||||
public class StudioPopupCanvasHandler : CanvasEventHandler
|
||||
{
|
||||
public StudioPopupCanvasHandler(Canvas_Studio_Popup canvas_popup)
|
||||
{
|
||||
canvas_popup.panel_quickstart.onClickNewProject += canvas_popup.panel_newprojectinfo.Open;
|
||||
canvas_popup.panel_quickstart.onClickNewProject += canvas_popup.panel_openprojectinfo.Close;
|
||||
canvas_popup.panel_quickstart.onClickOpenProject += canvas_popup.panel_newprojectinfo.Close;
|
||||
canvas_popup.panel_quickstart.onClickOpenProject += canvas_popup.panel_openprojectinfo.Open;
|
||||
|
||||
canvas_popup.panel_newprojectinfo.onClickCreate += canvas_popup.panel_quickstart.Close;
|
||||
canvas_popup.panel_newprojectinfo.onClickCreate += canvas_popup.panel_newprojectinfo.Close;
|
||||
|
||||
canvas_popup.panel_openprojectinfo.onClickOpen += canvas_popup.panel_quickstart.Close;
|
||||
canvas_popup.panel_openprojectinfo.onClickOpen += canvas_popup.panel_openprojectinfo.Close;
|
||||
|
||||
canvas_popup.panel_scenetab.onSceneSettingTab += canvas_popup.panel_startsetting.Active;
|
||||
|
||||
canvas_popup.panel_startsetting.onClickAppSetting += canvas_popup.panel_appsetting.Active;
|
||||
canvas_popup.panel_startsetting.onClickAuthSetting += canvas_popup.panel_authsetting.Active;
|
||||
canvas_popup.panel_startsetting.onClickAPISetting += canvas_popup.panel_apisetting.Active;
|
||||
canvas_popup.panel_startsetting.onClickMQTTSetting += canvas_popup.panel_mqttsetting.Active;
|
||||
canvas_popup.panel_startsetting.onClick3DFactorySetting += canvas_popup.panel_3dfactorysetting.Active;
|
||||
|
||||
canvas_popup.panel_datafiltersetting.onSaveMQTTFilterData += canvas_popup.panel_mqttconnectmodal.SetFilterData;
|
||||
canvas_popup.panel_datafiltersetting.onSaveAPIFilterData += canvas_popup.panel_apiconnectmodal.SetFilterData;
|
||||
|
||||
canvas_popup.panel_3dfactorysetting.onUISetting += canvas_popup.panel_dynamicobjectuisetting.SetData;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e53080ee638fbac49a75cb27bf53baf1
|
||||
8
Assets/NewStudioPGD/Scripts/UI.meta
Normal file
8
Assets/NewStudioPGD/Scripts/UI.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7b2f4e9a44961314f97ab6ed193f2111
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/NewStudioPGD/Scripts/UI/Canvas.meta
Normal file
8
Assets/NewStudioPGD/Scripts/UI/Canvas.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 11ad716c898895042b9e60cfb315cd6a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
53
Assets/NewStudioPGD/Scripts/UI/Canvas/Canvas_Studio_Popup.cs
Normal file
53
Assets/NewStudioPGD/Scripts/UI/Canvas/Canvas_Studio_Popup.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using UnityEngine;
|
||||
using Studio.Manage;
|
||||
using Studio.UI;
|
||||
using XRLib.UI;
|
||||
using XED;
|
||||
using XED.UI;
|
||||
|
||||
namespace Studio
|
||||
{
|
||||
public class Canvas_Studio_Popup : CanvasBase
|
||||
{
|
||||
public Panel_SceneTab panel_scenetab;
|
||||
public Panel_StartSetting panel_startsetting;
|
||||
public Panel_AppSetting panel_appsetting;
|
||||
public Panel_AuthSetting panel_authsetting;
|
||||
public Panel_APISetting panel_apisetting;
|
||||
public Panel_MQTTSetting panel_mqttsetting;
|
||||
public Panel_3DFactorySetting panel_3dfactorysetting;
|
||||
public Panel_DynamicObjectUISetting panel_dynamicobjectuisetting;
|
||||
|
||||
public Panel_Authentication panel_authentication;
|
||||
public Panel_QuickStart panel_quickstart;
|
||||
public Panel_NewProjectInfo panel_newprojectinfo;
|
||||
public Panel_OpenProjectInfo panel_openprojectinfo;
|
||||
public Panel_APIConnectModal panel_apiconnectmodal;
|
||||
public Panel_MQTTConnectModal panel_mqttconnectmodal;
|
||||
public Panel_DataFilterSetting panel_datafiltersetting;
|
||||
public Panel_MultilingualSettingModal panel_multilingualsettingmodal;
|
||||
public Panel_LoggingModal panel_loggingmodal;
|
||||
public Panel_ExitChecker panel_exitchecker;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
var dataManager = FindAnyObjectByType<ConnectDataManager>();
|
||||
var quitManager = FindAnyObjectByType<QuitManager>();
|
||||
|
||||
canvasHandler = new StudioPopupCanvasHandler(this);
|
||||
|
||||
panel_apiconnectmodal.onClickFilterButton += dataManager.SetFilterData;
|
||||
panel_apiconnectmodal.onSaveAPIData += dataManager.SetAPIData;
|
||||
|
||||
panel_mqttconnectmodal.onClickFilterButton += dataManager.SetFilterData;
|
||||
panel_mqttconnectmodal.onSaveMQTTData += dataManager.SetMQTTData;
|
||||
|
||||
dataManager.mqttData += panel_datafiltersetting.SetLoadMQTTDataList;
|
||||
dataManager.apiData += panel_datafiltersetting.SetLoadAPIDataList;
|
||||
|
||||
panel_exitchecker.onSaveAndExit += quitManager.OnConfirmQuit;
|
||||
panel_exitchecker.onExit += quitManager.OnConfirmQuit;
|
||||
panel_exitchecker.onCancel += quitManager.OnCancelQuit;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c8f7b3147f30b34abbe0f3043aa96b2
|
||||
14
Assets/NewStudioPGD/Scripts/UI/Canvas/StudioCanvas_Static.cs
Normal file
14
Assets/NewStudioPGD/Scripts/UI/Canvas/StudioCanvas_Static.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Studio.Command;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class StudioCanvas_Static : CanvasBase
|
||||
{
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
//studiopanel_topbar.onClickExit += () => CommandInvoker.instance.Invoke(new ExitProgramCommand());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7b45b7347fd0fe24f80dc309e5f1917a
|
||||
8
Assets/NewStudioPGD/Scripts/UI/Element.meta
Normal file
8
Assets/NewStudioPGD/Scripts/UI/Element.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e302619c0636cb24c99e8052db74db52
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,110 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class ProjectTemplateDropdown : UIBase
|
||||
{
|
||||
private GameObject optionItemPrefab;
|
||||
|
||||
private RectTransform TemplateDropdown;
|
||||
private RectTransform Content;
|
||||
public TMP_InputField InputField_ProjectTemplate;
|
||||
public Button Button_Dropdown;
|
||||
|
||||
private List<string> options = new();
|
||||
private List<GameObject> activeOptionItems = new List<GameObject>();
|
||||
|
||||
public enum EType
|
||||
{
|
||||
Test1,
|
||||
Test2,
|
||||
Test3,
|
||||
Test4,
|
||||
Test5,
|
||||
Test6,
|
||||
Test7,
|
||||
}
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
optionItemPrefab = Resources.Load<GameObject>("Prefabs/UI/PRF_QuickStartItem");
|
||||
InputField_ProjectTemplate.onValueChanged.AddListener(FilteringOption);
|
||||
Button_Dropdown.onClick.AddListener(ShowDropdown);
|
||||
|
||||
HideDropdown();
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
CreateDropdown();
|
||||
}
|
||||
|
||||
private void ShowDropdown()
|
||||
{
|
||||
TemplateDropdown.gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
private void HideDropdown()
|
||||
{
|
||||
TemplateDropdown.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
private void CreateDropdown()
|
||||
{
|
||||
ClearDropdownItems();
|
||||
|
||||
options = Enum.GetNames(typeof(EType)).ToList();
|
||||
foreach (string option in options)
|
||||
{
|
||||
CreateOption(option);
|
||||
}
|
||||
}
|
||||
|
||||
private void CreateOption(string text)
|
||||
{
|
||||
UI_QuickStartItem item = Instantiate(optionItemPrefab, Content).GetComponent<UI_QuickStartItem>();
|
||||
item.Init(text, () => OnClickOptionItem(text));
|
||||
|
||||
activeOptionItems.Add(item.gameObject);
|
||||
}
|
||||
|
||||
private void OnClickOptionItem(string text)
|
||||
{
|
||||
InputField_ProjectTemplate.text = text;
|
||||
HideDropdown();
|
||||
EventSystem.current.SetSelectedGameObject(null);
|
||||
}
|
||||
|
||||
private void FilteringOption(string input)
|
||||
{
|
||||
ClearDropdownItems();
|
||||
|
||||
foreach (string option in options)
|
||||
{
|
||||
if (option.ToLower().Contains(input.ToLower()))
|
||||
{
|
||||
CreateOption(option);
|
||||
}
|
||||
}
|
||||
|
||||
TemplateDropdown.gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
private void ClearDropdownItems()
|
||||
{
|
||||
foreach (GameObject item in activeOptionItems)
|
||||
{
|
||||
Destroy(item);
|
||||
}
|
||||
|
||||
activeOptionItems.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 03b6d3a46836e8b45abda03e9bab7e4f
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class UI_AuthenticationItem : UIBase
|
||||
{
|
||||
public TMP_InputField InputField;
|
||||
public TMP_Dropdown Dropdown;
|
||||
public Button Button_Remove;
|
||||
|
||||
public enum EType
|
||||
{
|
||||
String,
|
||||
Int,
|
||||
Boolean,
|
||||
}
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
InputField = transform.Find(nameof(InputField)).GetComponent<TMP_InputField>();
|
||||
Dropdown = transform.Find (nameof(Dropdown)).GetComponent<TMP_Dropdown>();
|
||||
Button_Remove = transform.Find(nameof(Button_Remove)).GetComponent<Button>();
|
||||
Button_Remove.onClick.AddListener(() => Destroy(gameObject));
|
||||
|
||||
List<string> options = Enum.GetNames(typeof(EType)).ToList();
|
||||
Dropdown.ClearOptions();
|
||||
Dropdown.AddOptions(options);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 972a710d67574c74f8adf612eeb0cbe8
|
||||
27
Assets/NewStudioPGD/Scripts/UI/Element/UI_QuickStartItem.cs
Normal file
27
Assets/NewStudioPGD/Scripts/UI/Element/UI_QuickStartItem.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class UI_QuickStartItem : UIBase, IPointerDownHandler
|
||||
{
|
||||
public TextMeshProUGUI Text_Name;
|
||||
|
||||
public Action onClickButton;
|
||||
|
||||
public void Init(string name, Action clickEvent)
|
||||
{
|
||||
Text_Name.text = name;
|
||||
onClickButton = clickEvent;
|
||||
}
|
||||
|
||||
public void OnPointerDown(PointerEventData eventData)
|
||||
{
|
||||
onClickButton?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e3bcb61a0d32304593b60cea80f55e0
|
||||
8
Assets/NewStudioPGD/Scripts/UI/Panel.meta
Normal file
8
Assets/NewStudioPGD/Scripts/UI/Panel.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 57f9d4f8767e32144acafc24cabc8d0f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
37
Assets/NewStudioPGD/Scripts/UI/Panel/Panel_Authentication.cs
Normal file
37
Assets/NewStudioPGD/Scripts/UI/Panel/Panel_Authentication.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using Ookii.Dialogs;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class Panel_Authentication : PanelBase
|
||||
{
|
||||
private GameObject itemPrefab;
|
||||
private RectTransform Info;
|
||||
|
||||
public Button Button_Add;
|
||||
public Button Button_Save;
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
itemPrefab = Resources.Load<GameObject>("Prefabs/UI/PRF_AuthenticationItem");
|
||||
|
||||
Button_Add.onClick.AddListener(AddItem);
|
||||
Button_Save.onClick.AddListener(OnClickSave);
|
||||
|
||||
AddItem();
|
||||
}
|
||||
|
||||
private void AddItem()
|
||||
{
|
||||
GameObject item = Instantiate(itemPrefab, Info);
|
||||
item.transform.SetSiblingIndex(Info.childCount - 2);
|
||||
}
|
||||
|
||||
private void OnClickSave()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0357488cd0c62c94d975970a56f1c0b7
|
||||
77
Assets/NewStudioPGD/Scripts/UI/Panel/Panel_NewProjectInfo.cs
Normal file
77
Assets/NewStudioPGD/Scripts/UI/Panel/Panel_NewProjectInfo.cs
Normal file
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using TriLibCore.SFB;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class Panel_NewProjectInfo : PanelBase
|
||||
{
|
||||
public TMP_InputField InputField_ProjectName;
|
||||
public TMP_InputField InputField_ProjectRoute;
|
||||
public TMP_InputField InputField_ProjectTemplate;
|
||||
public Button Button_FileExplorer;
|
||||
public Button Button_Dropdown;
|
||||
public Button Button_Create;
|
||||
|
||||
public Action onClickFileExplorer;
|
||||
public Action onClickCreate;
|
||||
|
||||
private string defaultPath = "C:\\Users\\";
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
Button_FileExplorer.onClick.AddListener(OnClickFileExplorer);
|
||||
Button_Create.onClick.AddListener(OnClickCreate);
|
||||
|
||||
InputField_ProjectRoute.text = defaultPath;
|
||||
}
|
||||
|
||||
private void OnClickFileExplorer()
|
||||
{
|
||||
var paths = StandaloneFileBrowser.OpenFolderPanel("Select Folder", "", false);
|
||||
|
||||
if (paths.Count > 0 && !string.IsNullOrEmpty(paths[0].Name))
|
||||
{
|
||||
InputField_ProjectRoute.text = paths[0].Name;
|
||||
}
|
||||
onClickFileExplorer?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickCreate()
|
||||
{
|
||||
onClickCreate?.Invoke();
|
||||
}
|
||||
|
||||
public void Open()
|
||||
{
|
||||
SetActive(true);
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
SetActive(false);
|
||||
}
|
||||
public string GetProjectName()
|
||||
{
|
||||
var name = InputField_ProjectName.text;
|
||||
return name;
|
||||
}
|
||||
public string GetProjectRoute()
|
||||
{
|
||||
var route = InputField_ProjectRoute.text;
|
||||
return route;
|
||||
}
|
||||
public string GetProjectTemplate()
|
||||
{
|
||||
var template = InputField_ProjectTemplate.text;
|
||||
return template;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 706d4d7d5e85d024793ed437d7924e95
|
||||
@@ -0,0 +1,82 @@
|
||||
using Ookii.Dialogs;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class Panel_OpenProjectInfo : PanelBase
|
||||
{
|
||||
private GameObject recentProjectItemPrefab;
|
||||
|
||||
public TMP_InputField InputField_ProjectRoute;
|
||||
public Button Button_FileExplorer;
|
||||
public Button Button_Server;
|
||||
public RectTransform Content;
|
||||
|
||||
public Action onClickFileExplorer;
|
||||
public Action onClickServer;
|
||||
|
||||
private RectTransform Footer;
|
||||
public TextMeshProUGUI Text_ProjectName;
|
||||
public TextMeshProUGUI Text_ProjectMetaInfo;
|
||||
public Button Button_Open;
|
||||
|
||||
public Action onClickOpen;
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
recentProjectItemPrefab = Resources.Load<GameObject>("Prefabs/UI/PRF_QuickStartItem");
|
||||
Button_FileExplorer.onClick.AddListener(OnClickFileExplorer);
|
||||
Button_Open.onClick.AddListener(OnClickOpen);
|
||||
|
||||
// Test
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
CreateRecentProjectItem();
|
||||
}
|
||||
}
|
||||
private int MaxRecentCount = 5;
|
||||
|
||||
private void OnClickFileExplorer()
|
||||
{
|
||||
onClickFileExplorer?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickServer()
|
||||
{
|
||||
onClickServer?.Invoke();
|
||||
}
|
||||
|
||||
public void CreateRecentProjectItem()
|
||||
{
|
||||
UI_QuickStartItem item = Instantiate(recentProjectItemPrefab, Content).GetComponent<UI_QuickStartItem>();
|
||||
item.Init(name, OnClickItem);
|
||||
}
|
||||
|
||||
private void OnClickItem()
|
||||
{
|
||||
Footer.gameObject.SetActive(true);
|
||||
Text_ProjectName.text = "test Name";
|
||||
Text_ProjectMetaInfo.text = "test MetaInfo";
|
||||
}
|
||||
|
||||
private void OnClickOpen()
|
||||
{
|
||||
onClickOpen?.Invoke();
|
||||
}
|
||||
|
||||
public void Open()
|
||||
{
|
||||
SetActive(true);
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1575215ddcee30041b0a614b4c4e8499
|
||||
47
Assets/NewStudioPGD/Scripts/UI/Panel/Panel_QuickStart.cs
Normal file
47
Assets/NewStudioPGD/Scripts/UI/Panel/Panel_QuickStart.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using Ookii.Dialogs;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class Panel_QuickStart : PanelBase
|
||||
{
|
||||
public Button Button_NewProject;
|
||||
public Button Button_OpenProject;
|
||||
|
||||
public Action onClickNewProject;
|
||||
public Action onClickOpenProject;
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
Button_NewProject.onClick.AddListener(OnClickNewProject);
|
||||
Button_OpenProject.onClick.AddListener(OnClickOpenProject);
|
||||
}
|
||||
|
||||
private void OnClickNewProject()
|
||||
{
|
||||
onClickNewProject?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickOpenProject()
|
||||
{
|
||||
onClickOpenProject?.Invoke();
|
||||
}
|
||||
|
||||
public void Open()
|
||||
{
|
||||
SetActive(true);
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2ea8ca2727b0a9940a5b50ef3ae50c61
|
||||
121
Assets/NewStudioPGD/Scripts/UI/Panel/Panel_StudioTopBar.cs
Normal file
121
Assets/NewStudioPGD/Scripts/UI/Panel/Panel_StudioTopBar.cs
Normal file
@@ -0,0 +1,121 @@
|
||||
using Studio.Manage;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace Studio.UI
|
||||
{
|
||||
public class Panel_StudioTopBar : PanelBase
|
||||
{
|
||||
/*File*/
|
||||
public Button Button_NewProject;
|
||||
public Button Button_OpenProject;
|
||||
public Button Button_SaveProject;
|
||||
public Button Button_SaveAsProject;
|
||||
public Button Button_Exit;
|
||||
|
||||
public event Action onClickNewProject;
|
||||
public event Action onClickOpenProject;
|
||||
public event Action onClickSaveProject;
|
||||
public event Action onClickSaveAsProject;
|
||||
public event Action onClickExit;
|
||||
|
||||
/*Window*/
|
||||
public Button Button_DataStorage;
|
||||
public Button Button_DataUpdateSetting;
|
||||
public Button Button_AssetManager;
|
||||
public Button Button_AssetLibraryWindow;
|
||||
public Button Button_HierarchyWindow;
|
||||
|
||||
public event Action onClickAssetManager;
|
||||
public event Action onClickAssetLibraryWindow;
|
||||
public event Action onClickHierarchyWindow;
|
||||
|
||||
|
||||
/*Build*/
|
||||
public Button Button_Build;
|
||||
public Button Button_Run;
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
Button_NewProject.onClick.AddListener(OnClickNewProject);
|
||||
Button_OpenProject.onClick.AddListener(OnClickOpenProject);
|
||||
Button_SaveProject.onClick.AddListener(OnClickSaveProject);
|
||||
Button_SaveAsProject.onClick.AddListener(OnClickSaveAsProject);
|
||||
Button_Exit.onClick.AddListener(OnClickExit);
|
||||
|
||||
Button_DataStorage.onClick.AddListener(OnClickDataStorage);
|
||||
Button_DataUpdateSetting.onClick.AddListener(OnClickDataUpdateSetting);
|
||||
Button_AssetManager.onClick.AddListener(OnClickAssetManager);
|
||||
Button_AssetLibraryWindow.onClick.AddListener(OnClickAssetLibraryWindow);
|
||||
Button_HierarchyWindow.onClick.AddListener(OnClickHierarchyWindow);
|
||||
|
||||
|
||||
Button_Build.onClick.AddListener(OnClickBuild);
|
||||
Button_Run.onClick.AddListener(OnClickRun);
|
||||
}
|
||||
|
||||
private void OnClickNewProject()
|
||||
{
|
||||
onClickNewProject?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickOpenProject()
|
||||
{
|
||||
onClickOpenProject?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickSaveProject()
|
||||
{
|
||||
onClickSaveProject?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickSaveAsProject()
|
||||
{
|
||||
onClickSaveAsProject?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickExit()
|
||||
{
|
||||
onClickExit?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickDataStorage()
|
||||
{
|
||||
onClickOpenProject?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickDataUpdateSetting()
|
||||
{
|
||||
onClickSaveProject?.Invoke();
|
||||
}
|
||||
|
||||
void OnClickAssetManager()
|
||||
{
|
||||
onClickAssetManager?.Invoke();
|
||||
}
|
||||
|
||||
void OnClickAssetLibraryWindow()
|
||||
{
|
||||
Debug.Log("On Click Asset Library");
|
||||
//EventConnector.instance.GetCanvas<Canvas_Popup>().panel_assetlibrary.SetActive(true);
|
||||
onClickAssetLibraryWindow?.Invoke();
|
||||
}
|
||||
|
||||
void OnClickHierarchyWindow()
|
||||
{
|
||||
onClickHierarchyWindow?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickBuild()
|
||||
{
|
||||
onClickSaveAsProject?.Invoke();
|
||||
}
|
||||
|
||||
private void OnClickRun()
|
||||
{
|
||||
onClickExit?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7f6987e1739948249a379338af8a6cbc
|
||||
@@ -1,30 +0,0 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace XED.UI
|
||||
{
|
||||
public class Panel_ModeControl : PanelBase
|
||||
{
|
||||
Button button_ObjectMode;
|
||||
Button button_PropertyMode;
|
||||
public Action onClickObjectMode;
|
||||
public Action onClickPropertyMode;
|
||||
public override void AfterAwake()
|
||||
{
|
||||
button_ObjectMode.onClick.AddListener(OnClickObjectMode);
|
||||
button_PropertyMode.onClick.AddListener(OnClickPropertyMode);
|
||||
}
|
||||
|
||||
private void OnClickPropertyMode()
|
||||
{
|
||||
//onClickPropertyMode();
|
||||
}
|
||||
|
||||
private void OnClickObjectMode()
|
||||
{
|
||||
onClickObjectMode();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 924ac0c6c9fadc24bbb821b72f962fdf
|
||||
8
Assets/Prefabs/AAA.meta
Normal file
8
Assets/Prefabs/AAA.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0e573670f055db549b85ccaa78e2cfe7
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1806
Assets/Prefabs/AAA/Panel_3DFactorySetting.prefab
Normal file
1806
Assets/Prefabs/AAA/Panel_3DFactorySetting.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Prefabs/AAA/Panel_3DFactorySetting.prefab.meta
Normal file
7
Assets/Prefabs/AAA/Panel_3DFactorySetting.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 238e9bf0b15101242a65d6bbe91baa83
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
2564
Assets/Prefabs/AAA/Panel_APIConnectModal.prefab
Normal file
2564
Assets/Prefabs/AAA/Panel_APIConnectModal.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Prefabs/AAA/Panel_APIConnectModal.prefab.meta
Normal file
7
Assets/Prefabs/AAA/Panel_APIConnectModal.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b0f606a28456e384ba973ec4b18be0b8
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1061
Assets/Prefabs/AAA/Panel_APISetting.prefab
Normal file
1061
Assets/Prefabs/AAA/Panel_APISetting.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Prefabs/AAA/Panel_APISetting.prefab.meta
Normal file
7
Assets/Prefabs/AAA/Panel_APISetting.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87e4fb57e7f74c84b93bbf2bcb594c8a
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
3669
Assets/Prefabs/AAA/Panel_AccessibilitySettings.prefab
Normal file
3669
Assets/Prefabs/AAA/Panel_AccessibilitySettings.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: feb22e94eb6961f40bd6c96cacb64a78
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
2464
Assets/Prefabs/AAA/Panel_AlarmConnectModal.prefab
Normal file
2464
Assets/Prefabs/AAA/Panel_AlarmConnectModal.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Prefabs/AAA/Panel_AlarmConnectModal.prefab.meta
Normal file
7
Assets/Prefabs/AAA/Panel_AlarmConnectModal.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c70df26a59bf353419dcf25ee33b394d
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
7988
Assets/Prefabs/AAA/Panel_AppSetting.prefab
Normal file
7988
Assets/Prefabs/AAA/Panel_AppSetting.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Prefabs/AAA/Panel_AppSetting.prefab.meta
Normal file
7
Assets/Prefabs/AAA/Panel_AppSetting.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b970071914aa54248b513564c76ca22c
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
2874
Assets/Prefabs/AAA/Panel_AssetLibrary.prefab
Normal file
2874
Assets/Prefabs/AAA/Panel_AssetLibrary.prefab
Normal file
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user