Public metody pro vlastní Menu.
This commit is contained in:
29
Game/Hero/Champion_00.asset
Normal file
29
Game/Hero/Champion_00.asset
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 1db1d1943f6165546b7a8aa42068f69b, type: 3}
|
||||||
|
m_Name: Champion_00
|
||||||
|
m_EditorClassIdentifier: Assembly-CSharp::MegaKoop.Champions.ChampionData
|
||||||
|
championName: Champion 1
|
||||||
|
championId: 0
|
||||||
|
description: Popis pro Champion 1
|
||||||
|
portrait: {fileID: 0}
|
||||||
|
championPrefab: {fileID: 7059514996416789454, guid: fe75fe22781f92b369675fdfc9657f7d, type: 3}
|
||||||
|
primaryGunName: Primary Weapon
|
||||||
|
primaryGunDescription: Primary gun description
|
||||||
|
secondaryGunName: Secondary Weapon
|
||||||
|
secondaryGunDescription: Secondary gun description
|
||||||
|
passiveName: Passive Ability
|
||||||
|
passiveDescription: Passive ability description
|
||||||
|
primaryGunIcon: {fileID: 0}
|
||||||
|
secondaryGunIcon: {fileID: 0}
|
||||||
|
passiveIcon: {fileID: 0}
|
||||||
|
themeColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
8
Game/Hero/Champion_00.asset.meta
Normal file
8
Game/Hero/Champion_00.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e91e178970c9ce94fa1aae63627dd287
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
29
Game/Hero/Champion_01.asset
Normal file
29
Game/Hero/Champion_01.asset
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 1db1d1943f6165546b7a8aa42068f69b, type: 3}
|
||||||
|
m_Name: Champion_01
|
||||||
|
m_EditorClassIdentifier: Assembly-CSharp::MegaKoop.Champions.ChampionData
|
||||||
|
championName: Champion 2
|
||||||
|
championId: 1
|
||||||
|
description: Popis pro Champion 2
|
||||||
|
portrait: {fileID: 0}
|
||||||
|
championPrefab: {fileID: 2809934685114486836, guid: ae082cf2d3a36684fb23d8ec0e643150, type: 3}
|
||||||
|
primaryGunName: Primary Weapon
|
||||||
|
primaryGunDescription: Primary gun description
|
||||||
|
secondaryGunName: Secondary Weapon
|
||||||
|
secondaryGunDescription: Secondary gun description
|
||||||
|
passiveName: Passive Ability
|
||||||
|
passiveDescription: Passive ability description
|
||||||
|
primaryGunIcon: {fileID: 0}
|
||||||
|
secondaryGunIcon: {fileID: 0}
|
||||||
|
passiveIcon: {fileID: 0}
|
||||||
|
themeColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
8
Game/Hero/Champion_01.asset.meta
Normal file
8
Game/Hero/Champion_01.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3063583c11830974380a240794f2a205
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 88f6755465395d64bb0448b5605efff0
|
guid: f9f986f0da88643469a3c8d6d1223351
|
||||||
PrefabImporter:
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
8
Game/Scripts/Champions.meta
Normal file
8
Game/Scripts/Champions.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6d7b510344abb3846bb4a3bdab6135d5
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
MegaKoop.meta
Normal file
8
MegaKoop.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d0da2da2780d0484dbb4b0d6698bab27
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
MegaKoop/GeneratedUI.meta
Normal file
8
MegaKoop/GeneratedUI.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 486c8daa3c35a794ab6d0d0926b1cdbe
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
MegaKoop/GeneratedUI/pill_32.png
Normal file
BIN
MegaKoop/GeneratedUI/pill_32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
130
MegaKoop/GeneratedUI/pill_32.png.meta
Normal file
130
MegaKoop/GeneratedUI/pill_32.png.meta
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e12555a05d95f214ba3f917c40371b0c
|
||||||
|
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: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 2
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 32, y: 32, z: 32, w: 32}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
MegaKoop/GeneratedUI/rounded_16.png
Normal file
BIN
MegaKoop/GeneratedUI/rounded_16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 430 B |
130
MegaKoop/GeneratedUI/rounded_16.png.meta
Normal file
130
MegaKoop/GeneratedUI/rounded_16.png.meta
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 34eb234f95e13684ea08cfe7cd06a207
|
||||||
|
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: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 2
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 16, y: 16, z: 16, w: 16}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
40
Resources/ChampionDatabase.asset
Normal file
40
Resources/ChampionDatabase.asset
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 2844d064cf51ea940a481b3b76c10ff6, type: 3}
|
||||||
|
m_Name: ChampionDatabase
|
||||||
|
m_EditorClassIdentifier: Assembly-CSharp::MegaKoop.Champions.ChampionDatabase
|
||||||
|
champions:
|
||||||
|
- {fileID: 11400000, guid: e91e178970c9ce94fa1aae63627dd287, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 3063583c11830974380a240794f2a205, type: 2}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
|
- {fileID: 0}
|
||||||
8
Resources/ChampionDatabase.asset.meta
Normal file
8
Resources/ChampionDatabase.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e37c7626379bc4d4d8201c2e0a952d71
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -119,6 +119,227 @@ NavMeshSettings:
|
|||||||
debug:
|
debug:
|
||||||
m_Flags: 0
|
m_Flags: 0
|
||||||
m_NavMeshData: {fileID: 0}
|
m_NavMeshData: {fileID: 0}
|
||||||
|
--- !u!1001 &831839154
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 823543054642676583, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 823543054642676583, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 823543054642676583, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 823543054642676583, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 823543054642676583, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2424069284266112789, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2424069284266112789, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2424069284266112789, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2424069284266112789, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2424069284266112789, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4338908930005547509, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4338908930005547509, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4338908930005547509, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4338908930005547509, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4338908930005547509, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4673102867650065913, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5103416207562237503, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5657786356065976782, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: UI_Canvas
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6055886206283180261, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6055886206283180261, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6055886206283180261, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6055886206283180261, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6055886206283180261, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6473852753451605943, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6473852753451605943, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6473852753451605943, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6473852753451605943, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6473852753451605943, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6655869929931705367, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6655869929931705367, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6655869929931705367, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6655869929931705367, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6655869929931705367, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8f73add37dd781d47af917c56220d19b, type: 3}
|
||||||
--- !u!1 &1529537536
|
--- !u!1 &1529537536
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -387,227 +608,6 @@ Transform:
|
|||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||||
--- !u!1001 &2280786286853122418
|
|
||||||
PrefabInstance:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 101518427092650933, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMax.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 101518427092650933, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMin.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 101518427092650933, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_SizeDelta.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 101518427092650933, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 101518427092650933, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 617703031284608668, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMax.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 617703031284608668, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMin.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 617703031284608668, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_SizeDelta.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 617703031284608668, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 617703031284608668, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 1194336527607572380, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMax.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 1194336527607572380, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMin.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 1194336527607572380, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_SizeDelta.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 1194336527607572380, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 1194336527607572380, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 3060923908051425770, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMax.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 3060923908051425770, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMin.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 3060923908051425770, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_SizeDelta.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 3060923908051425770, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 3060923908051425770, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5066217168612425102, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_Name
|
|
||||||
value: UI_Canvas_low_Fix
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5844189943145006235, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMax.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5844189943145006235, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMin.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5844189943145006235, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_SizeDelta.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5844189943145006235, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5844189943145006235, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7669293528610272095, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_SizeDelta.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_Pivot.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_Pivot.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMax.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMax.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMin.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMin.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_SizeDelta.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_SizeDelta.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7671363420633751975, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7699760000123566625, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMax.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7699760000123566625, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchorMin.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7699760000123566625, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_SizeDelta.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7699760000123566625, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 7699760000123566625, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
propertyPath: m_AnchoredPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_RemovedGameObjects: []
|
|
||||||
m_AddedGameObjects: []
|
|
||||||
m_AddedComponents: []
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 440f89caf615ada4aa0202b06d7586fe, type: 3}
|
|
||||||
--- !u!1660057539 &9223372036854775807
|
--- !u!1660057539 &9223372036854775807
|
||||||
SceneRoots:
|
SceneRoots:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -615,4 +615,4 @@ SceneRoots:
|
|||||||
- {fileID: 1754255436}
|
- {fileID: 1754255436}
|
||||||
- {fileID: 1956492400}
|
- {fileID: 1956492400}
|
||||||
- {fileID: 1529537539}
|
- {fileID: 1529537539}
|
||||||
- {fileID: 2280786286853122418}
|
- {fileID: 831839154}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -25,24 +25,24 @@ namespace MegaKoop.UI
|
|||||||
private GameObject panelSettings;
|
private GameObject panelSettings;
|
||||||
private GameObject panelLobby;
|
private GameObject panelLobby;
|
||||||
|
|
||||||
// Main buttons
|
[Header("Manual Wiring - Main Menu Buttons")]
|
||||||
private Button btnNewGame;
|
[SerializeField] private Button btnNewGame;
|
||||||
private Button btnContinue;
|
[SerializeField] private Button btnContinue;
|
||||||
private Button btnMultiplayer;
|
[SerializeField] private Button btnMultiplayer;
|
||||||
private Button btnSettings;
|
[SerializeField] private Button btnSettings;
|
||||||
private Button btnQuit;
|
[SerializeField] private Button btnQuit;
|
||||||
|
|
||||||
// Settings controls
|
[Header("Manual Wiring - Settings Controls")]
|
||||||
private TMP_Dropdown ddQuality;
|
[SerializeField] private TMP_Dropdown ddQuality;
|
||||||
private Toggle tgFullscreen;
|
[SerializeField] private Toggle tgFullscreen;
|
||||||
private TMP_Dropdown ddResolution;
|
[SerializeField] private TMP_Dropdown ddResolution;
|
||||||
private Button btnApplySettings;
|
[SerializeField] private Button btnApplySettings;
|
||||||
private Button btnBackFromSettings;
|
[SerializeField] private Button btnBackFromSettings;
|
||||||
private Slider slMaster;
|
[SerializeField] private Slider slMaster;
|
||||||
private Slider slMusic;
|
[SerializeField] private Slider slMusic;
|
||||||
private Slider slSFX;
|
[SerializeField] private Slider slSFX;
|
||||||
private Dropdown ddQualityUI;
|
[SerializeField] private Dropdown ddQualityUI;
|
||||||
private Dropdown ddResolutionUI;
|
[SerializeField] private Dropdown ddResolutionUI;
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
@@ -50,23 +50,23 @@ namespace MegaKoop.UI
|
|||||||
RefreshPanelReferences();
|
RefreshPanelReferences();
|
||||||
|
|
||||||
// Buttons
|
// Buttons
|
||||||
btnNewGame = FindButton("Button_NewGame", panelMain ? panelMain.transform : this.transform);
|
btnNewGame = EnsureButton(btnNewGame, "Button_NewGame", panelMain ? panelMain.transform : this.transform);
|
||||||
btnContinue = FindButton("Button_Continue", panelMain ? panelMain.transform : this.transform);
|
btnContinue = EnsureButton(btnContinue, "Button_Continue", panelMain ? panelMain.transform : this.transform);
|
||||||
btnMultiplayer = FindButton("Button_Multiplayer", panelMain ? panelMain.transform : this.transform);
|
btnMultiplayer = EnsureButton(btnMultiplayer, "Button_Multiplayer", panelMain ? panelMain.transform : this.transform);
|
||||||
btnSettings = FindButton("Button_Settings", panelMain ? panelMain.transform : this.transform);
|
btnSettings = EnsureButton(btnSettings, "Button_Settings", panelMain ? panelMain.transform : this.transform);
|
||||||
btnQuit = FindButton("Button_Quit", panelMain ? panelMain.transform : this.transform);
|
btnQuit = EnsureButton(btnQuit, "Button_Quit", panelMain ? panelMain.transform : this.transform);
|
||||||
|
|
||||||
// Settings
|
// Settings
|
||||||
ddQuality = FindDropdown("Dropdown_Quality", panelSettings ? panelSettings.transform : this.transform);
|
ddQuality = EnsureDropdown(ddQuality, "Dropdown_Quality", panelSettings ? panelSettings.transform : this.transform);
|
||||||
if (!ddQuality) ddQualityUI = FindUIDropdown("Dropdown_Quality", panelSettings ? panelSettings.transform : this.transform);
|
ddQualityUI = EnsureUIDropdown(ddQualityUI, "Dropdown_Quality", panelSettings ? panelSettings.transform : this.transform);
|
||||||
tgFullscreen = FindToggle("Toggle_Fullscreen", panelSettings ? panelSettings.transform : this.transform);
|
tgFullscreen = EnsureToggle(tgFullscreen, "Toggle_Fullscreen", panelSettings ? panelSettings.transform : this.transform);
|
||||||
ddResolution = FindDropdown("Dropdown_Resolution", panelSettings ? panelSettings.transform : this.transform);
|
ddResolution = EnsureDropdown(ddResolution, "Dropdown_Resolution", panelSettings ? panelSettings.transform : this.transform);
|
||||||
if (!ddResolution) ddResolutionUI = FindUIDropdown("Dropdown_Resolution", panelSettings ? panelSettings.transform : this.transform);
|
ddResolutionUI = EnsureUIDropdown(ddResolutionUI, "Dropdown_Resolution", panelSettings ? panelSettings.transform : this.transform);
|
||||||
btnApplySettings = FindButton("Button_ApplySettings", panelSettings ? panelSettings.transform : this.transform);
|
btnApplySettings = EnsureButton(btnApplySettings, "Button_ApplySettings", panelSettings ? panelSettings.transform : this.transform);
|
||||||
btnBackFromSettings = FindButton("Button_BackFromSettings", panelSettings ? panelSettings.transform : this.transform);
|
btnBackFromSettings = EnsureButton(btnBackFromSettings, "Button_BackFromSettings", panelSettings ? panelSettings.transform : this.transform);
|
||||||
slMaster = FindSlider("Slider_MasterVolume", panelSettings ? panelSettings.transform : this.transform);
|
slMaster = EnsureSlider(slMaster, "Slider_MasterVolume", panelSettings ? panelSettings.transform : this.transform);
|
||||||
slMusic = FindSlider("Slider_MusicVolume", panelSettings ? panelSettings.transform : this.transform);
|
slMusic = EnsureSlider(slMusic, "Slider_MusicVolume", panelSettings ? panelSettings.transform : this.transform);
|
||||||
slSFX = FindSlider("Slider_SFXVolume", panelSettings ? panelSettings.transform : this.transform);
|
slSFX = EnsureSlider(slSFX, "Slider_SFXVolume", panelSettings ? panelSettings.transform : this.transform);
|
||||||
|
|
||||||
if (!btnApplySettings && panelSettings) btnApplySettings = FindButtonByLabel("APPLY", panelSettings.transform);
|
if (!btnApplySettings && panelSettings) btnApplySettings = FindButtonByLabel("APPLY", panelSettings.transform);
|
||||||
if (!btnBackFromSettings && panelSettings) btnBackFromSettings = FindButtonByLabel("BACK", panelSettings.transform);
|
if (!btnBackFromSettings && panelSettings) btnBackFromSettings = FindButtonByLabel("BACK", panelSettings.transform);
|
||||||
@@ -79,6 +79,12 @@ namespace MegaKoop.UI
|
|||||||
ShowMainMenu();
|
ShowMainMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private Dropdown EnsureUIDropdown(Dropdown existing, string name, Transform scope)
|
||||||
|
{
|
||||||
|
if (existing) return existing;
|
||||||
|
return FindUIDropdown(name, scope);
|
||||||
|
}
|
||||||
|
|
||||||
private Dropdown FindUIDropdown(string name, Transform scope = null)
|
private Dropdown FindUIDropdown(string name, Transform scope = null)
|
||||||
{
|
{
|
||||||
if (scope != null)
|
if (scope != null)
|
||||||
@@ -107,6 +113,31 @@ namespace MegaKoop.UI
|
|||||||
RefreshPanelReferences();
|
RefreshPanelReferences();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetMainMenuButtons(Button newGame, Button continueButton, Button multiplayerButton, Button settingsButton, Button quitButton)
|
||||||
|
{
|
||||||
|
btnNewGame = newGame;
|
||||||
|
btnContinue = continueButton;
|
||||||
|
btnMultiplayer = multiplayerButton;
|
||||||
|
btnSettings = settingsButton;
|
||||||
|
btnQuit = quitButton;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetSettingsControls(TMP_Dropdown qualityDropdown, Dropdown legacyQualityDropdown, Toggle fullscreenToggle,
|
||||||
|
TMP_Dropdown resolutionDropdown, Dropdown legacyResolutionDropdown, Slider masterVolume, Slider musicVolume, Slider sfxVolume,
|
||||||
|
Button applyButton, Button backButton)
|
||||||
|
{
|
||||||
|
ddQuality = qualityDropdown;
|
||||||
|
ddQualityUI = legacyQualityDropdown;
|
||||||
|
tgFullscreen = fullscreenToggle;
|
||||||
|
ddResolution = resolutionDropdown;
|
||||||
|
ddResolutionUI = legacyResolutionDropdown;
|
||||||
|
slMaster = masterVolume;
|
||||||
|
slMusic = musicVolume;
|
||||||
|
slSFX = sfxVolume;
|
||||||
|
btnApplySettings = applyButton;
|
||||||
|
btnBackFromSettings = backButton;
|
||||||
|
}
|
||||||
|
|
||||||
private void RefreshPanelReferences()
|
private void RefreshPanelReferences()
|
||||||
{
|
{
|
||||||
panelMain = panelMainRef ? panelMainRef : (FindAnyInScene("Panel_MainMenu") ?? panelMain);
|
panelMain = panelMainRef ? panelMainRef : (FindAnyInScene("Panel_MainMenu") ?? panelMain);
|
||||||
@@ -114,6 +145,30 @@ namespace MegaKoop.UI
|
|||||||
panelLobby = panelLobbyRef ? panelLobbyRef : (FindAnyInScene("Panel_Lobby") ?? panelLobby);
|
panelLobby = panelLobbyRef ? panelLobbyRef : (FindAnyInScene("Panel_Lobby") ?? panelLobby);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private Button EnsureButton(Button existing, string name, Transform scope)
|
||||||
|
{
|
||||||
|
if (existing) return existing;
|
||||||
|
return FindButton(name, scope);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TMP_Dropdown EnsureDropdown(TMP_Dropdown existing, string name, Transform scope)
|
||||||
|
{
|
||||||
|
if (existing) return existing;
|
||||||
|
return FindDropdown(name, scope);
|
||||||
|
}
|
||||||
|
|
||||||
|
private Toggle EnsureToggle(Toggle existing, string name, Transform scope)
|
||||||
|
{
|
||||||
|
if (existing) return existing;
|
||||||
|
return FindToggle(name, scope);
|
||||||
|
}
|
||||||
|
|
||||||
|
private Slider EnsureSlider(Slider existing, string name, Transform scope)
|
||||||
|
{
|
||||||
|
if (existing) return existing;
|
||||||
|
return FindSlider(name, scope);
|
||||||
|
}
|
||||||
|
|
||||||
private GameObject FindAnyInScene(string name)
|
private GameObject FindAnyInScene(string name)
|
||||||
{
|
{
|
||||||
// Najde i neaktivní objekty
|
// Najde i neaktivní objekty
|
||||||
|
|||||||
@@ -23,47 +23,47 @@ namespace MegaKoop.UI
|
|||||||
private GameObject groupJoin;
|
private GameObject groupJoin;
|
||||||
private GameObject groupHost;
|
private GameObject groupHost;
|
||||||
|
|
||||||
// Header & Code
|
[Header("Manual Wiring - Header & Code")]
|
||||||
private TMP_Text textStatus;
|
[SerializeField] private TMP_Text textStatus;
|
||||||
private TMP_Text textLobbyCodeValue;
|
[SerializeField] private TMP_Text textLobbyCodeValue;
|
||||||
private Button btnCopyCode;
|
[SerializeField] private Button btnCopyCode;
|
||||||
|
|
||||||
// Tabs
|
[Header("Manual Wiring - Tabs")]
|
||||||
private Button btnHostTab;
|
[SerializeField] private Button btnHostTab;
|
||||||
private Button btnJoinTab;
|
[SerializeField] private Button btnJoinTab;
|
||||||
|
|
||||||
// Join
|
[Header("Manual Wiring - Join Section")]
|
||||||
private TMP_InputField inputLobbyCode;
|
[SerializeField] private TMP_InputField inputLobbyCode;
|
||||||
private Button btnConnect;
|
[SerializeField] private Button btnConnect;
|
||||||
|
|
||||||
// Host
|
[Header("Manual Wiring - Host Section")]
|
||||||
private TMP_Dropdown ddMaxPlayers;
|
[SerializeField] private TMP_Dropdown ddMaxPlayers;
|
||||||
private Toggle tgPublicLobby;
|
[SerializeField] private Toggle tgPublicLobby;
|
||||||
private Button btnCreateLobby;
|
[SerializeField] private Button btnCreateLobby;
|
||||||
|
|
||||||
// Players
|
[Header("Manual Wiring - Players List")]
|
||||||
private TMP_Text textPlayerCount;
|
[SerializeField] private TMP_Text textPlayerCount;
|
||||||
private ScrollRect scrollPlayers;
|
[SerializeField] private ScrollRect scrollPlayers;
|
||||||
private Transform contentPlayers;
|
[SerializeField] private Transform contentPlayers;
|
||||||
private GameObject playerItemTemplate;
|
[SerializeField] private GameObject playerItemTemplate;
|
||||||
private GameObject emptyPlayers;
|
[SerializeField] private GameObject emptyPlayers;
|
||||||
|
|
||||||
// Friends picker (fallback when overlay unavailable)
|
[Header("Manual Wiring - Friends Picker")]
|
||||||
private GameObject panelFriends;
|
[SerializeField] private GameObject panelFriends;
|
||||||
private Transform contentFriends;
|
[SerializeField] private Transform contentFriends;
|
||||||
private GameObject emptyFriends;
|
[SerializeField] private GameObject emptyFriends;
|
||||||
private Button btnBackFromFriends;
|
[SerializeField] private Button btnBackFromFriends;
|
||||||
private Button btnCloseFriendsOverlay;
|
[SerializeField] private Button btnCloseFriendsOverlay;
|
||||||
|
|
||||||
// Host controls
|
[Header("Manual Wiring - Host Controls")]
|
||||||
private Button btnInviteFriends;
|
[SerializeField] private Button btnInviteFriends;
|
||||||
private Button btnKickSelected;
|
[SerializeField] private Button btnKickSelected;
|
||||||
|
|
||||||
// Ready & footer
|
[Header("Manual Wiring - Footer")]
|
||||||
private Button btnToggleReady;
|
[SerializeField] private Button btnToggleReady;
|
||||||
private Button btnStartGame;
|
[SerializeField] private Button btnStartGame;
|
||||||
private Button btnLeaveLobby;
|
[SerializeField] private Button btnLeaveLobby;
|
||||||
private Button btnBackFromLobby;
|
[SerializeField] private Button btnBackFromLobby;
|
||||||
|
|
||||||
[Header("Player Ready Styling")]
|
[Header("Player Ready Styling")]
|
||||||
[SerializeField] private Color readyBorderColor = new Color(0.2f, 0.82f, 0.35f, 1f);
|
[SerializeField] private Color readyBorderColor = new Color(0.2f, 0.82f, 0.35f, 1f);
|
||||||
@@ -92,44 +92,44 @@ namespace MegaKoop.UI
|
|||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
// Find UI (including inactive)
|
// Find UI (including inactive)
|
||||||
panelLobby = FindAnyGO("Panel_Lobby");
|
panelLobby = EnsureGO(panelLobby, "Panel_Lobby");
|
||||||
groupJoin = FindAnyGO("Group_Join");
|
groupJoin = EnsureGO(groupJoin, "Group_Join");
|
||||||
groupHost = FindAnyGO("Group_Host");
|
groupHost = EnsureGO(groupHost, "Group_Host");
|
||||||
|
|
||||||
textStatus = FindText("Text_Status");
|
textStatus = EnsureText(textStatus, "Text_Status");
|
||||||
textLobbyCodeValue = FindText("Text_LobbyCodeValue");
|
textLobbyCodeValue = EnsureText(textLobbyCodeValue, "Text_LobbyCodeValue");
|
||||||
btnCopyCode = FindButton("Button_CopyCode");
|
btnCopyCode = EnsureButton(btnCopyCode, "Button_CopyCode");
|
||||||
|
|
||||||
btnHostTab = FindButton("Button_HostTab");
|
btnHostTab = EnsureButton(btnHostTab, "Button_HostTab");
|
||||||
btnJoinTab = FindButton("Button_JoinTab");
|
btnJoinTab = EnsureButton(btnJoinTab, "Button_JoinTab");
|
||||||
|
|
||||||
inputLobbyCode = FindInput("Input_LobbyCode");
|
inputLobbyCode = EnsureInput(inputLobbyCode, "Input_LobbyCode");
|
||||||
btnConnect = FindButton("Button_Connect");
|
btnConnect = EnsureButton(btnConnect, "Button_Connect");
|
||||||
|
|
||||||
ddMaxPlayers = FindDropdown("Dropdown_MaxPlayers");
|
ddMaxPlayers = EnsureDropdown(ddMaxPlayers, "Dropdown_MaxPlayers");
|
||||||
tgPublicLobby = FindToggle("Toggle_PublicLobby");
|
tgPublicLobby = EnsureToggle(tgPublicLobby, "Toggle_PublicLobby");
|
||||||
btnCreateLobby = FindButton("Button_CreateLobby");
|
btnCreateLobby = EnsureButton(btnCreateLobby, "Button_CreateLobby");
|
||||||
|
|
||||||
textPlayerCount = FindText("Text_PlayerCount");
|
textPlayerCount = EnsureText(textPlayerCount, "Text_PlayerCount");
|
||||||
scrollPlayers = FindScroll("Scroll_Players");
|
scrollPlayers = EnsureScroll(scrollPlayers, "Scroll_Players");
|
||||||
contentPlayers = FindAnyGO("Content_PlayersList")?.transform;
|
contentPlayers = EnsureTransform(contentPlayers, "Content_PlayersList");
|
||||||
emptyPlayers = FindAnyGO("Empty_Players");
|
emptyPlayers = EnsureGO(emptyPlayers, "Empty_Players");
|
||||||
playerItemTemplate = FindAnyGO("PlayerItemTemplate");
|
playerItemTemplate = EnsureGO(playerItemTemplate, "PlayerItemTemplate");
|
||||||
|
|
||||||
btnInviteFriends = FindButton("Button_InviteFriends");
|
btnInviteFriends = EnsureButton(btnInviteFriends, "Button_InviteFriends");
|
||||||
btnKickSelected = FindButton("Button_KickSelected");
|
btnKickSelected = EnsureButton(btnKickSelected, "Button_KickSelected");
|
||||||
|
|
||||||
btnToggleReady = FindButton("Button_ToggleReady");
|
btnToggleReady = EnsureButton(btnToggleReady, "Button_ToggleReady");
|
||||||
btnStartGame = FindButton("Button_StartGame");
|
btnStartGame = EnsureButton(btnStartGame, "Button_StartGame");
|
||||||
btnLeaveLobby = FindButton("Button_LeaveLobby");
|
btnLeaveLobby = EnsureButton(btnLeaveLobby, "Button_LeaveLobby");
|
||||||
btnBackFromLobby = FindButton("Button_BackFromLobby");
|
btnBackFromLobby = EnsureButton(btnBackFromLobby, "Button_BackFromLobby");
|
||||||
|
|
||||||
// Friends picker
|
// Friends picker
|
||||||
panelFriends = FindAnyGO("Panel_Friends");
|
panelFriends = EnsureGO(panelFriends, "Panel_Friends");
|
||||||
contentFriends = FindAnyGO("Content_FriendsList")?.transform;
|
contentFriends = EnsureTransform(contentFriends, "Content_FriendsList");
|
||||||
emptyFriends = FindAnyGO("Empty_Friends");
|
emptyFriends = EnsureGO(emptyFriends, "Empty_Friends");
|
||||||
btnBackFromFriends = FindButton("Button_BackFromFriends");
|
btnBackFromFriends = EnsureButton(btnBackFromFriends, "Button_BackFromFriends");
|
||||||
btnCloseFriendsOverlay = FindButton("Button_CloseFriendsOverlay");
|
btnCloseFriendsOverlay = EnsureButton(btnCloseFriendsOverlay, "Button_CloseFriendsOverlay");
|
||||||
|
|
||||||
EnsureSteamServices();
|
EnsureSteamServices();
|
||||||
RegisterSteamEvents();
|
RegisterSteamEvents();
|
||||||
@@ -322,12 +322,78 @@ namespace MegaKoop.UI
|
|||||||
panelLobbyRef = root;
|
panelLobbyRef = root;
|
||||||
}
|
}
|
||||||
|
|
||||||
private TMP_Text FindText(string name) => FindAnyComponent<TMP_Text>(name);
|
public void SetHostJoinGroups(GameObject hostGroup, GameObject joinGroup)
|
||||||
private Button FindButton(string name) => FindAnyComponent<Button>(name);
|
{
|
||||||
private Toggle FindToggle(string name) => FindAnyComponent<Toggle>(name);
|
groupHost = hostGroup;
|
||||||
private TMP_Dropdown FindDropdown(string name) => FindAnyComponent<TMP_Dropdown>(name);
|
groupJoin = joinGroup;
|
||||||
private TMP_InputField FindInput(string name) => FindAnyComponent<TMP_InputField>(name);
|
}
|
||||||
private ScrollRect FindScroll(string name) => FindAnyComponent<ScrollRect>(name);
|
|
||||||
|
public void SetHeaderControls(TMP_Text status, TMP_Text lobbyCode, Button copyCode)
|
||||||
|
{
|
||||||
|
textStatus = status;
|
||||||
|
textLobbyCodeValue = lobbyCode;
|
||||||
|
btnCopyCode = copyCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetTabButtons(Button hostTab, Button joinTab)
|
||||||
|
{
|
||||||
|
btnHostTab = hostTab;
|
||||||
|
btnJoinTab = joinTab;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetJoinSection(TMP_InputField lobbyCodeInput, Button connectButton)
|
||||||
|
{
|
||||||
|
inputLobbyCode = lobbyCodeInput;
|
||||||
|
btnConnect = connectButton;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetHostSection(TMP_Dropdown maxPlayersDropdown, Toggle publicToggle, Button createLobbyButton)
|
||||||
|
{
|
||||||
|
ddMaxPlayers = maxPlayersDropdown;
|
||||||
|
tgPublicLobby = publicToggle;
|
||||||
|
btnCreateLobby = createLobbyButton;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetPlayersList(TMP_Text playerCountText, ScrollRect playersScroll, Transform playersContent, GameObject itemTemplate, GameObject emptyState)
|
||||||
|
{
|
||||||
|
textPlayerCount = playerCountText;
|
||||||
|
scrollPlayers = playersScroll;
|
||||||
|
contentPlayers = playersContent;
|
||||||
|
playerItemTemplate = itemTemplate;
|
||||||
|
emptyPlayers = emptyState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetFriendsPicker(GameObject friendsPanel, Transform friendsContent, GameObject friendsEmpty, Button backButton, Button closeOverlayButton)
|
||||||
|
{
|
||||||
|
panelFriends = friendsPanel;
|
||||||
|
contentFriends = friendsContent;
|
||||||
|
emptyFriends = friendsEmpty;
|
||||||
|
btnBackFromFriends = backButton;
|
||||||
|
btnCloseFriendsOverlay = closeOverlayButton;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetHostControls(Button inviteFriendsButton, Button kickSelectedButton)
|
||||||
|
{
|
||||||
|
btnInviteFriends = inviteFriendsButton;
|
||||||
|
btnKickSelected = kickSelectedButton;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetFooterControls(Button toggleReadyButton, Button startGameButton, Button leaveLobbyButton, Button backButton)
|
||||||
|
{
|
||||||
|
btnToggleReady = toggleReadyButton;
|
||||||
|
btnStartGame = startGameButton;
|
||||||
|
btnLeaveLobby = leaveLobbyButton;
|
||||||
|
btnBackFromLobby = backButton;
|
||||||
|
}
|
||||||
|
|
||||||
|
private TMP_Text EnsureText(TMP_Text existing, string name) => existing ? existing : FindAnyComponent<TMP_Text>(name);
|
||||||
|
private Button EnsureButton(Button existing, string name) => existing ? existing : FindAnyComponent<Button>(name);
|
||||||
|
private Toggle EnsureToggle(Toggle existing, string name) => existing ? existing : FindAnyComponent<Toggle>(name);
|
||||||
|
private TMP_Dropdown EnsureDropdown(TMP_Dropdown existing, string name) => existing ? existing : FindAnyComponent<TMP_Dropdown>(name);
|
||||||
|
private TMP_InputField EnsureInput(TMP_InputField existing, string name) => existing ? existing : FindAnyComponent<TMP_InputField>(name);
|
||||||
|
private ScrollRect EnsureScroll(ScrollRect existing, string name) => existing ? existing : FindAnyComponent<ScrollRect>(name);
|
||||||
|
private Transform EnsureTransform(Transform existing, string name) => existing ? existing : FindAnyGO(name)?.transform;
|
||||||
|
private GameObject EnsureGO(GameObject existing, string name) => existing ? existing : FindAnyGO(name);
|
||||||
|
|
||||||
#region Steam
|
#region Steam
|
||||||
private void EnsureSteamServices()
|
private void EnsureSteamServices()
|
||||||
|
|||||||
26311
UI/UI_Canvas 1.prefab
26311
UI/UI_Canvas 1.prefab
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 5d7cbc36e4a870b4a8f9960c98e02388
|
guid: fd82d2a29e7d6074384455d591a597e8
|
||||||
PrefabImporter:
|
PrefabImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
|
|||||||
17122
UI/UI_Canvas 2.prefab
17122
UI/UI_Canvas 2.prefab
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user