mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-10-29 20:52:10 +01:00 
			
		
		
		
	| @@ -1,8 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 87e41501c7333284181e6e35baba371e |  | ||||||
| folderAsset: yes |  | ||||||
| DefaultImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 783 KiB | 
| @@ -1,134 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 2333621bfe32dea43bd95af850f88a3a |  | ||||||
| TextureImporter: |  | ||||||
|   internalIDToNameTable: [] |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 11 |  | ||||||
|   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 |  | ||||||
|   isReadable: 0 |  | ||||||
|   streamingMipmaps: 0 |  | ||||||
|   streamingMipmapsPriority: 0 |  | ||||||
|   vTOnly: 0 |  | ||||||
|   ignoreMasterTextureLimit: 0 |  | ||||||
|   grayScaleToAlpha: 0 |  | ||||||
|   generateCubemap: 6 |  | ||||||
|   cubemapConvolution: 0 |  | ||||||
|   seamlessCubemap: 0 |  | ||||||
|   textureFormat: 1 |  | ||||||
|   maxTextureSize: 2048 |  | ||||||
|   textureSettings: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     filterMode: 1 |  | ||||||
|     aniso: 1 |  | ||||||
|     mipBias: 0 |  | ||||||
|     wrapU: 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 |  | ||||||
|   platformSettings: |  | ||||||
|   - serializedVersion: 3 |  | ||||||
|     buildTarget: DefaultTexturePlatform |  | ||||||
|     maxTextureSize: 2048 |  | ||||||
|     resizeAlgorithm: 0 |  | ||||||
|     textureFormat: -1 |  | ||||||
|     textureCompression: 1 |  | ||||||
|     compressionQuality: 50 |  | ||||||
|     crunchedCompression: 0 |  | ||||||
|     allowsAlphaSplitting: 0 |  | ||||||
|     overridden: 0 |  | ||||||
|     androidETC2FallbackOverride: 0 |  | ||||||
|     forceMaximumCompressionQuality_BC6H_BC7: 0 |  | ||||||
|   - serializedVersion: 3 |  | ||||||
|     buildTarget: Standalone |  | ||||||
|     maxTextureSize: 2048 |  | ||||||
|     resizeAlgorithm: 0 |  | ||||||
|     textureFormat: -1 |  | ||||||
|     textureCompression: 1 |  | ||||||
|     compressionQuality: 50 |  | ||||||
|     crunchedCompression: 0 |  | ||||||
|     allowsAlphaSplitting: 0 |  | ||||||
|     overridden: 0 |  | ||||||
|     androidETC2FallbackOverride: 0 |  | ||||||
|     forceMaximumCompressionQuality_BC6H_BC7: 0 |  | ||||||
|   - serializedVersion: 3 |  | ||||||
|     buildTarget: Server |  | ||||||
|     maxTextureSize: 2048 |  | ||||||
|     resizeAlgorithm: 0 |  | ||||||
|     textureFormat: -1 |  | ||||||
|     textureCompression: 1 |  | ||||||
|     compressionQuality: 50 |  | ||||||
|     crunchedCompression: 0 |  | ||||||
|     allowsAlphaSplitting: 0 |  | ||||||
|     overridden: 0 |  | ||||||
|     androidETC2FallbackOverride: 0 |  | ||||||
|     forceMaximumCompressionQuality_BC6H_BC7: 0 |  | ||||||
|   - serializedVersion: 3 |  | ||||||
|     buildTarget: WebGL |  | ||||||
|     maxTextureSize: 2048 |  | ||||||
|     resizeAlgorithm: 0 |  | ||||||
|     textureFormat: -1 |  | ||||||
|     textureCompression: 1 |  | ||||||
|     compressionQuality: 50 |  | ||||||
|     crunchedCompression: 0 |  | ||||||
|     allowsAlphaSplitting: 0 |  | ||||||
|     overridden: 0 |  | ||||||
|     androidETC2FallbackOverride: 0 |  | ||||||
|     forceMaximumCompressionQuality_BC6H_BC7: 0 |  | ||||||
|   spriteSheet: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     sprites: [] |  | ||||||
|     outline: [] |  | ||||||
|     physicsShape: [] |  | ||||||
|     bones: [] |  | ||||||
|     spriteID: 5e97eb03825dee720800000000000000 |  | ||||||
|     internalID: 0 |  | ||||||
|     vertices: [] |  | ||||||
|     indices:  |  | ||||||
|     edges: [] |  | ||||||
|     weights: [] |  | ||||||
|     secondaryTextures: [] |  | ||||||
|     nameFileIdTable: {} |  | ||||||
|   spritePackingTag:  |  | ||||||
|   pSDRemoveMatte: 0 |  | ||||||
|   pSDShowRemoveMatteOption: 0 |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -134,7 +134,7 @@ GameObject: | |||||||
|   m_Icon: {fileID: 0} |   m_Icon: {fileID: 0} | ||||||
|   m_NavMeshLayer: 0 |   m_NavMeshLayer: 0 | ||||||
|   m_StaticEditorFlags: 0 |   m_StaticEditorFlags: 0 | ||||||
|   m_IsActive: 1 |   m_IsActive: 0 | ||||||
| --- !u!4 &7365407325767981108 | --- !u!4 &7365407325767981108 | ||||||
| Transform: | Transform: | ||||||
|   m_ObjectHideFlags: 0 |   m_ObjectHideFlags: 0 | ||||||
|   | |||||||
| @@ -1,8 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 32096dbfa0802674589493ea60da7068 |  | ||||||
| folderAsset: yes |  | ||||||
| DefaultImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,46 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &2150812009058835102 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 3347479686264493447} |  | ||||||
|   - component: {fileID: 8149741327840006972} |  | ||||||
|   m_Layer: 0 |  | ||||||
|   m_Name: GameManager |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!4 &3347479686264493447 |  | ||||||
| Transform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 2150812009058835102} |  | ||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |  | ||||||
|   m_LocalPosition: {x: 5.459576, y: -4.2192264, z: -5.9449897} |  | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |  | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |  | ||||||
|   m_Father: {fileID: 0} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
| --- !u!114 &8149741327840006972 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 2150812009058835102} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 8748c2c4324fa0942b14884b8873c8b2, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: d8211f6231dffa046a5ad222f3607548 |  | ||||||
| PrefabImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,68 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &7129514368576730101 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 7129514368576730100} |  | ||||||
|   - component: {fileID: 7129514368576730103} |  | ||||||
|   - component: {fileID: 7129514368576730102} |  | ||||||
|   m_Layer: 0 |  | ||||||
|   m_Name: LobbyManager |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!4 &7129514368576730100 |  | ||||||
| Transform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7129514368576730101} |  | ||||||
|   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_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
| --- !u!114 &7129514368576730103 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7129514368576730101} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: b6183dbb3c561ed44803ffda1c859dc9, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   syncMode: 0 |  | ||||||
|   syncInterval: 0.1 |  | ||||||
|   LobbyPlayers: [] |  | ||||||
|   lobbyTitle:  |  | ||||||
| --- !u!114 &7129514368576730102 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7129514368576730101} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   sceneId: 0 |  | ||||||
|   serverOnly: 0 |  | ||||||
|   visible: 0 |  | ||||||
|   m_AssetId:  |  | ||||||
|   hasSpawned: 0 |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: af2b86e6ca1c8404a857e6bfa4294f3c |  | ||||||
| PrefabImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,88 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &7086846156459211638 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 7086846156459211593} |  | ||||||
|   - component: {fileID: 7086846156459211639} |  | ||||||
|   - component: {fileID: 7346916175116586392} |  | ||||||
|   m_Layer: 0 |  | ||||||
|   m_Name: NetManager |  | ||||||
|   m_TagString: NetManager |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!4 &7086846156459211593 |  | ||||||
| Transform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7086846156459211638} |  | ||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |  | ||||||
|   m_LocalPosition: {x: 354.46393, y: 179.54048, z: -5.4055643} |  | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |  | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |  | ||||||
|   m_Father: {fileID: 0} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
| --- !u!114 &7086846156459211639 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7086846156459211638} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 6b0fecffa3f624585964b0d0eb21b18e, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   Port: 7777 |  | ||||||
|   DualMode: 1 |  | ||||||
|   NoDelay: 1 |  | ||||||
|   Interval: 10 |  | ||||||
|   Timeout: 10000 |  | ||||||
|   FastResend: 2 |  | ||||||
|   CongestionWindow: 0 |  | ||||||
|   SendWindowSize: 4096 |  | ||||||
|   ReceiveWindowSize: 4096 |  | ||||||
|   NonAlloc: 1 |  | ||||||
|   debugLog: 0 |  | ||||||
|   statisticsGUI: 0 |  | ||||||
|   statisticsLog: 0 |  | ||||||
| --- !u!114 &7346916175116586392 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7086846156459211638} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 1d8236d3922ab424d9f006270667d7a7, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   dontDestroyOnLoad: 1 |  | ||||||
|   PersistNetworkManagerToOfflineScene: 0 |  | ||||||
|   runInBackground: 1 |  | ||||||
|   autoStartServerBuild: 1 |  | ||||||
|   serverTickRate: 30 |  | ||||||
|   offlineScene: Assets/Scenes/HomeScene.unity |  | ||||||
|   onlineScene: Assets/Scenes/Lobby.unity |  | ||||||
|   transport: {fileID: 7086846156459211639} |  | ||||||
|   networkAddress: localhost |  | ||||||
|   maxConnections: 100 |  | ||||||
|   authenticator: {fileID: 0} |  | ||||||
|   playerPrefab: {fileID: 9010945563893975427, guid: fc0476cecf5ea1047aeb1f4981bfc16f, type: 3} |  | ||||||
|   autoCreatePlayer: 1 |  | ||||||
|   playerSpawnMethod: 0 |  | ||||||
|   spawnPrefabs: |  | ||||||
|   - {fileID: 6272346181302961293, guid: a14d876ac00bdf6498e30b3e58b68fdf, type: 3} |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 0f6d9d1e97686d34d9872b5028512de5 |  | ||||||
| PrefabImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,48 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &7587534621021785474 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 4539561019408977365} |  | ||||||
|   - component: {fileID: 389256256808104179} |  | ||||||
|   m_Layer: 0 |  | ||||||
|   m_Name: TeamManager |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!4 &4539561019408977365 |  | ||||||
| Transform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7587534621021785474} |  | ||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |  | ||||||
|   m_LocalPosition: {x: 367.13614, y: 171.75735, z: 1.6763184} |  | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |  | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |  | ||||||
|   m_Father: {fileID: 0} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
| --- !u!114 &389256256808104179 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7587534621021785474} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: cc117181a5e845145888b1c152bcb4ad, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   syncMode: 0 |  | ||||||
|   syncInterval: 0.1 |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: e4af683be73288d44b419fb6216d8a2a |  | ||||||
| PrefabImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,352 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &759482234963316101 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 2454942472495841689} |  | ||||||
|   - component: {fileID: 6501986326480717242} |  | ||||||
|   - component: {fileID: 4846970278929914545} |  | ||||||
|   - component: {fileID: 6292287315077470204} |  | ||||||
|   - component: {fileID: 4851014946560619885} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: MenuBtn |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &2454942472495841689 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 759482234963316101} |  | ||||||
|   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: |  | ||||||
|   - {fileID: 8195340923953184801} |  | ||||||
|   - {fileID: 2988788840077636510} |  | ||||||
|   m_Father: {fileID: 0} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   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.000011444, y: -70} |  | ||||||
|   m_SizeDelta: {x: 180, y: 60} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &6501986326480717242 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 759482234963316101} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &4846970278929914545 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 759482234963316101} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 0.032075405, g: 1, b: 0.21790946, a: 1} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_Sprite: {fileID: 0} |  | ||||||
|   m_Type: 0 |  | ||||||
|   m_PreserveAspect: 0 |  | ||||||
|   m_FillCenter: 1 |  | ||||||
|   m_FillMethod: 4 |  | ||||||
|   m_FillAmount: 1 |  | ||||||
|   m_FillClockwise: 1 |  | ||||||
|   m_FillOrigin: 0 |  | ||||||
|   m_UseSpriteMesh: 0 |  | ||||||
|   m_PixelsPerUnitMultiplier: 1 |  | ||||||
| --- !u!114 &6292287315077470204 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 759482234963316101} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Navigation: |  | ||||||
|     m_Mode: 3 |  | ||||||
|     m_WrapAround: 0 |  | ||||||
|     m_SelectOnUp: {fileID: 0} |  | ||||||
|     m_SelectOnDown: {fileID: 0} |  | ||||||
|     m_SelectOnLeft: {fileID: 0} |  | ||||||
|     m_SelectOnRight: {fileID: 0} |  | ||||||
|   m_Transition: 1 |  | ||||||
|   m_Colors: |  | ||||||
|     m_NormalColor: {r: 0.5849056, g: 0.5849056, b: 0.5849056, a: 1} |  | ||||||
|     m_HighlightedColor: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     m_PressedColor: {r: 0.6792453, g: 0.6792453, b: 0.6792453, a: 1} |  | ||||||
|     m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} |  | ||||||
|     m_DisabledColor: {r: 0.20754719, g: 0.20754719, b: 0.20754719, a: 0.5019608} |  | ||||||
|     m_ColorMultiplier: 1.4 |  | ||||||
|     m_FadeDuration: 0.1 |  | ||||||
|   m_SpriteState: |  | ||||||
|     m_HighlightedSprite: {fileID: 0} |  | ||||||
|     m_PressedSprite: {fileID: 0} |  | ||||||
|     m_SelectedSprite: {fileID: 0} |  | ||||||
|     m_DisabledSprite: {fileID: 0} |  | ||||||
|   m_AnimationTriggers: |  | ||||||
|     m_NormalTrigger: Normal |  | ||||||
|     m_HighlightedTrigger: Highlighted |  | ||||||
|     m_PressedTrigger: Pressed |  | ||||||
|     m_SelectedTrigger: Selected |  | ||||||
|     m_DisabledTrigger: Disabled |  | ||||||
|   m_Interactable: 1 |  | ||||||
|   m_TargetGraphic: {fileID: 4846970278929914545} |  | ||||||
|   m_OnClick: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
| --- !u!114 &4851014946560619885 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 759482234963316101} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: fd4b898ade2dd5d41b2181efb5309551, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   BtnBgImage: {fileID: 2577358429750010405} |  | ||||||
|   BgColor: {r: 0.17254902, g: 0.18431373, b: 0.2, a: 1} |  | ||||||
|   OnHoverBgColor: {r: 0.17254902, g: 0.18431373, b: 0.2, a: 0.9019608} |  | ||||||
| --- !u!1 &2577358429750010405 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 8195340923953184801} |  | ||||||
|   - component: {fileID: 5683136959269640064} |  | ||||||
|   - component: {fileID: 2244956731589282061} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: BtnBg |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &8195340923953184801 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 2577358429750010405} |  | ||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |  | ||||||
|   m_LocalPosition: {x: 0, y: 0, z: 4} |  | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |  | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |  | ||||||
|   m_Father: {fileID: 2454942472495841689} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
|   m_AnchorMin: {x: 0, y: 0} |  | ||||||
|   m_AnchorMax: {x: 1, y: 1} |  | ||||||
|   m_AnchoredPosition: {x: 0, y: 0} |  | ||||||
|   m_SizeDelta: {x: -8, y: -8} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &5683136959269640064 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 2577358429750010405} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &2244956731589282061 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 2577358429750010405} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 0.17254902, g: 0.18431373, b: 0.2, a: 1} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_Sprite: {fileID: 0} |  | ||||||
|   m_Type: 0 |  | ||||||
|   m_PreserveAspect: 0 |  | ||||||
|   m_FillCenter: 1 |  | ||||||
|   m_FillMethod: 4 |  | ||||||
|   m_FillAmount: 1 |  | ||||||
|   m_FillClockwise: 1 |  | ||||||
|   m_FillOrigin: 0 |  | ||||||
|   m_UseSpriteMesh: 0 |  | ||||||
|   m_PixelsPerUnitMultiplier: 1 |  | ||||||
| --- !u!1 &8076035533974620946 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 2988788840077636510} |  | ||||||
|   - component: {fileID: 1133781040540647655} |  | ||||||
|   - component: {fileID: 1513820883277351791} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: Text (TMP) |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &2988788840077636510 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8076035533974620946} |  | ||||||
|   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: 2454942472495841689} |  | ||||||
|   m_RootOrder: 1 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
|   m_AnchorMin: {x: 0, y: 0} |  | ||||||
|   m_AnchorMax: {x: 1, y: 1} |  | ||||||
|   m_AnchoredPosition: {x: 0, y: 0} |  | ||||||
|   m_SizeDelta: {x: 0, y: 0} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &1133781040540647655 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8076035533974620946} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &1513820883277351791 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8076035533974620946} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_text: button |  | ||||||
|   m_isRightToLeft: 0 |  | ||||||
|   m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_fontSharedMaterials: [] |  | ||||||
|   m_fontMaterial: {fileID: 0} |  | ||||||
|   m_fontMaterials: [] |  | ||||||
|   m_fontColor32: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4294967295 |  | ||||||
|   m_fontColor: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_enableVertexGradient: 0 |  | ||||||
|   m_colorMode: 3 |  | ||||||
|   m_fontColorGradient: |  | ||||||
|     topLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     topRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_fontColorGradientPreset: {fileID: 0} |  | ||||||
|   m_spriteAsset: {fileID: 0} |  | ||||||
|   m_tintAllSprites: 0 |  | ||||||
|   m_StyleSheet: {fileID: 0} |  | ||||||
|   m_TextStyleHashCode: -1183493901 |  | ||||||
|   m_overrideHtmlColors: 0 |  | ||||||
|   m_faceColor: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4294967295 |  | ||||||
|   m_fontSize: 28 |  | ||||||
|   m_fontSizeBase: 28 |  | ||||||
|   m_fontWeight: 400 |  | ||||||
|   m_enableAutoSizing: 0 |  | ||||||
|   m_fontSizeMin: 18 |  | ||||||
|   m_fontSizeMax: 72 |  | ||||||
|   m_fontStyle: 17 |  | ||||||
|   m_HorizontalAlignment: 2 |  | ||||||
|   m_VerticalAlignment: 512 |  | ||||||
|   m_textAlignment: 65535 |  | ||||||
|   m_characterSpacing: 0 |  | ||||||
|   m_wordSpacing: 0 |  | ||||||
|   m_lineSpacing: 0 |  | ||||||
|   m_lineSpacingMax: 0 |  | ||||||
|   m_paragraphSpacing: 0 |  | ||||||
|   m_charWidthMaxAdj: 0 |  | ||||||
|   m_enableWordWrapping: 1 |  | ||||||
|   m_wordWrappingRatios: 0.4 |  | ||||||
|   m_overflowMode: 0 |  | ||||||
|   m_linkedTextComponent: {fileID: 0} |  | ||||||
|   parentLinkedComponent: {fileID: 0} |  | ||||||
|   m_enableKerning: 1 |  | ||||||
|   m_enableExtraPadding: 0 |  | ||||||
|   checkPaddingRequired: 0 |  | ||||||
|   m_isRichText: 1 |  | ||||||
|   m_parseCtrlCharacters: 1 |  | ||||||
|   m_isOrthographic: 1 |  | ||||||
|   m_isCullingEnabled: 0 |  | ||||||
|   m_horizontalMapping: 0 |  | ||||||
|   m_verticalMapping: 0 |  | ||||||
|   m_uvLineOffset: 0 |  | ||||||
|   m_geometrySortingOrder: 0 |  | ||||||
|   m_IsTextObjectScaleStatic: 0 |  | ||||||
|   m_VertexBufferAutoSizeReduction: 0 |  | ||||||
|   m_useMaxVisibleDescender: 1 |  | ||||||
|   m_pageToDisplay: 1 |  | ||||||
|   m_margin: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_isUsingLegacyAnimationComponent: 0 |  | ||||||
|   m_isVolumetricText: 0 |  | ||||||
|   m_hasFontAssetChanged: 0 |  | ||||||
|   m_baseMaterial: {fileID: 0} |  | ||||||
|   m_maskOffset: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: a973691757099224ca132b32daabf67c |  | ||||||
| PrefabImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,540 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &5992874809390613176 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 8580211107013450537} |  | ||||||
|   - component: {fileID: 4608508744968645517} |  | ||||||
|   - component: {fileID: 1088508108834211330} |  | ||||||
|   - component: {fileID: 163137781302496742} |  | ||||||
|   - component: {fileID: -7977709009623583697} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: MenuInput |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &8580211107013450537 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 5992874809390613176} |  | ||||||
|   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: |  | ||||||
|   - {fileID: 1130491370983573872} |  | ||||||
|   - {fileID: 6593521644546459576} |  | ||||||
|   - {fileID: 4153414737318425132} |  | ||||||
|   m_Father: {fileID: 0} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   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: 4.206} |  | ||||||
|   m_SizeDelta: {x: 200, y: 50} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &4608508744968645517 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 5992874809390613176} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &1088508108834211330 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 5992874809390613176} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 0.12922749, g: 0.39613566, b: 0.8301887, a: 1} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_Sprite: {fileID: 0} |  | ||||||
|   m_Type: 1 |  | ||||||
|   m_PreserveAspect: 0 |  | ||||||
|   m_FillCenter: 1 |  | ||||||
|   m_FillMethod: 4 |  | ||||||
|   m_FillAmount: 1 |  | ||||||
|   m_FillClockwise: 1 |  | ||||||
|   m_FillOrigin: 0 |  | ||||||
|   m_UseSpriteMesh: 0 |  | ||||||
|   m_PixelsPerUnitMultiplier: 1 |  | ||||||
| --- !u!114 &163137781302496742 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 5992874809390613176} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Navigation: |  | ||||||
|     m_Mode: 3 |  | ||||||
|     m_WrapAround: 0 |  | ||||||
|     m_SelectOnUp: {fileID: 0} |  | ||||||
|     m_SelectOnDown: {fileID: 0} |  | ||||||
|     m_SelectOnLeft: {fileID: 0} |  | ||||||
|     m_SelectOnRight: {fileID: 0} |  | ||||||
|   m_Transition: 1 |  | ||||||
|   m_Colors: |  | ||||||
|     m_NormalColor: {r: 0.764151, g: 0.764151, b: 0.764151, a: 1} |  | ||||||
|     m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} |  | ||||||
|     m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} |  | ||||||
|     m_SelectedColor: {r: 1, g: 0.995283, b: 0.995283, a: 1} |  | ||||||
|     m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} |  | ||||||
|     m_ColorMultiplier: 1.15 |  | ||||||
|     m_FadeDuration: 0.1 |  | ||||||
|   m_SpriteState: |  | ||||||
|     m_HighlightedSprite: {fileID: 0} |  | ||||||
|     m_PressedSprite: {fileID: 0} |  | ||||||
|     m_SelectedSprite: {fileID: 0} |  | ||||||
|     m_DisabledSprite: {fileID: 0} |  | ||||||
|   m_AnimationTriggers: |  | ||||||
|     m_NormalTrigger: Normal |  | ||||||
|     m_HighlightedTrigger: Highlighted |  | ||||||
|     m_PressedTrigger: Pressed |  | ||||||
|     m_SelectedTrigger: Selected |  | ||||||
|     m_DisabledTrigger: Disabled |  | ||||||
|   m_Interactable: 1 |  | ||||||
|   m_TargetGraphic: {fileID: 1088508108834211330} |  | ||||||
|   m_TextViewport: {fileID: 4153414737318425132} |  | ||||||
|   m_TextComponent: {fileID: 7840637978478213332} |  | ||||||
|   m_Placeholder: {fileID: 6839779817986636963} |  | ||||||
|   m_VerticalScrollbar: {fileID: 0} |  | ||||||
|   m_VerticalScrollbarEventHandler: {fileID: 0} |  | ||||||
|   m_LayoutGroup: {fileID: 0} |  | ||||||
|   m_ScrollSensitivity: 1 |  | ||||||
|   m_ContentType: 0 |  | ||||||
|   m_InputType: 0 |  | ||||||
|   m_AsteriskChar: 42 |  | ||||||
|   m_KeyboardType: 0 |  | ||||||
|   m_LineType: 0 |  | ||||||
|   m_HideMobileInput: 0 |  | ||||||
|   m_HideSoftKeyboard: 0 |  | ||||||
|   m_CharacterValidation: 0 |  | ||||||
|   m_RegexValue:  |  | ||||||
|   m_GlobalPointSize: 14 |  | ||||||
|   m_CharacterLimit: 0 |  | ||||||
|   m_OnEndEdit: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_OnSubmit: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_OnSelect: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_OnDeselect: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_OnTextSelection: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_OnEndTextSelection: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_OnValueChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_OnTouchScreenKeyboardStatusChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} |  | ||||||
|   m_CustomCaretColor: 0 |  | ||||||
|   m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} |  | ||||||
|   m_Text:  |  | ||||||
|   m_CaretBlinkRate: 0.85 |  | ||||||
|   m_CaretWidth: 1 |  | ||||||
|   m_ReadOnly: 0 |  | ||||||
|   m_RichText: 1 |  | ||||||
|   m_GlobalFontAsset: {fileID: 0} |  | ||||||
|   m_OnFocusSelectAll: 1 |  | ||||||
|   m_ResetOnDeActivation: 1 |  | ||||||
|   m_RestoreOriginalTextOnEscape: 1 |  | ||||||
|   m_isRichTextEditingAllowed: 0 |  | ||||||
|   m_LineLimit: 0 |  | ||||||
|   m_InputValidator: {fileID: 0} |  | ||||||
| --- !u!114 &-7977709009623583697 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 5992874809390613176} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 63e8a56290440f546ab703ec69045442, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   InputType: 1 |  | ||||||
| --- !u!1 &7237040070017613533 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 4153414737318425132} |  | ||||||
|   - component: {fileID: 4270024375617413416} |  | ||||||
|   - component: {fileID: 7840637978478213332} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: Text |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &4153414737318425132 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7237040070017613533} |  | ||||||
|   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: 8580211107013450537} |  | ||||||
|   m_RootOrder: 2 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
|   m_AnchorMin: {x: 0, y: 0} |  | ||||||
|   m_AnchorMax: {x: 1, y: 1} |  | ||||||
|   m_AnchoredPosition: {x: -0.33863068, y: -0.000005722046} |  | ||||||
|   m_SizeDelta: {x: -13.618, y: -10} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &4270024375617413416 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7237040070017613533} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &7840637978478213332 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7237040070017613533} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_text: "\u200B" |  | ||||||
|   m_isRightToLeft: 0 |  | ||||||
|   m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_fontSharedMaterials: [] |  | ||||||
|   m_fontMaterial: {fileID: 0} |  | ||||||
|   m_fontMaterials: [] |  | ||||||
|   m_fontColor32: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4294967295 |  | ||||||
|   m_fontColor: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_enableVertexGradient: 0 |  | ||||||
|   m_colorMode: 3 |  | ||||||
|   m_fontColorGradient: |  | ||||||
|     topLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     topRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_fontColorGradientPreset: {fileID: 0} |  | ||||||
|   m_spriteAsset: {fileID: 0} |  | ||||||
|   m_tintAllSprites: 0 |  | ||||||
|   m_StyleSheet: {fileID: 0} |  | ||||||
|   m_TextStyleHashCode: -1183493901 |  | ||||||
|   m_overrideHtmlColors: 0 |  | ||||||
|   m_faceColor: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4294967295 |  | ||||||
|   m_fontSize: 18 |  | ||||||
|   m_fontSizeBase: 18 |  | ||||||
|   m_fontWeight: 400 |  | ||||||
|   m_enableAutoSizing: 0 |  | ||||||
|   m_fontSizeMin: 18 |  | ||||||
|   m_fontSizeMax: 72 |  | ||||||
|   m_fontStyle: 1 |  | ||||||
|   m_HorizontalAlignment: 2 |  | ||||||
|   m_VerticalAlignment: 512 |  | ||||||
|   m_textAlignment: 65535 |  | ||||||
|   m_characterSpacing: 0 |  | ||||||
|   m_wordSpacing: 0 |  | ||||||
|   m_lineSpacing: 0 |  | ||||||
|   m_lineSpacingMax: 0 |  | ||||||
|   m_paragraphSpacing: 0 |  | ||||||
|   m_charWidthMaxAdj: 0 |  | ||||||
|   m_enableWordWrapping: 0 |  | ||||||
|   m_wordWrappingRatios: 0.4 |  | ||||||
|   m_overflowMode: 0 |  | ||||||
|   m_linkedTextComponent: {fileID: 0} |  | ||||||
|   parentLinkedComponent: {fileID: 0} |  | ||||||
|   m_enableKerning: 1 |  | ||||||
|   m_enableExtraPadding: 0 |  | ||||||
|   checkPaddingRequired: 0 |  | ||||||
|   m_isRichText: 1 |  | ||||||
|   m_parseCtrlCharacters: 1 |  | ||||||
|   m_isOrthographic: 1 |  | ||||||
|   m_isCullingEnabled: 0 |  | ||||||
|   m_horizontalMapping: 0 |  | ||||||
|   m_verticalMapping: 0 |  | ||||||
|   m_uvLineOffset: 0 |  | ||||||
|   m_geometrySortingOrder: 0 |  | ||||||
|   m_IsTextObjectScaleStatic: 0 |  | ||||||
|   m_VertexBufferAutoSizeReduction: 0 |  | ||||||
|   m_useMaxVisibleDescender: 1 |  | ||||||
|   m_pageToDisplay: 1 |  | ||||||
|   m_margin: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_isUsingLegacyAnimationComponent: 0 |  | ||||||
|   m_isVolumetricText: 0 |  | ||||||
|   m_hasFontAssetChanged: 0 |  | ||||||
|   m_baseMaterial: {fileID: 0} |  | ||||||
|   m_maskOffset: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
| --- !u!1 &8392238282441249025 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 6593521644546459576} |  | ||||||
|   - component: {fileID: 4571721526023264823} |  | ||||||
|   - component: {fileID: 6839779817986636963} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: Placeholder |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &6593521644546459576 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8392238282441249025} |  | ||||||
|   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: 8580211107013450537} |  | ||||||
|   m_RootOrder: 1 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
|   m_AnchorMin: {x: 0, y: 0} |  | ||||||
|   m_AnchorMax: {x: 1, y: 1} |  | ||||||
|   m_AnchoredPosition: {x: 0.21481323, y: -0.000005722046} |  | ||||||
|   m_SizeDelta: {x: -14.724503, y: -10} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &4571721526023264823 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8392238282441249025} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &6839779817986636963 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8392238282441249025} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_text: Enter IP |  | ||||||
|   m_isRightToLeft: 0 |  | ||||||
|   m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_fontSharedMaterials: [] |  | ||||||
|   m_fontMaterial: {fileID: 0} |  | ||||||
|   m_fontMaterials: [] |  | ||||||
|   m_fontColor32: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4291809231 |  | ||||||
|   m_fontColor: {r: 0.8113208, g: 0.8113208, b: 0.8113208, a: 1} |  | ||||||
|   m_enableVertexGradient: 0 |  | ||||||
|   m_colorMode: 3 |  | ||||||
|   m_fontColorGradient: |  | ||||||
|     topLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     topRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_fontColorGradientPreset: {fileID: 0} |  | ||||||
|   m_spriteAsset: {fileID: 0} |  | ||||||
|   m_tintAllSprites: 0 |  | ||||||
|   m_StyleSheet: {fileID: 0} |  | ||||||
|   m_TextStyleHashCode: -1183493901 |  | ||||||
|   m_overrideHtmlColors: 0 |  | ||||||
|   m_faceColor: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4294967295 |  | ||||||
|   m_fontSize: 18 |  | ||||||
|   m_fontSizeBase: 18 |  | ||||||
|   m_fontWeight: 400 |  | ||||||
|   m_enableAutoSizing: 0 |  | ||||||
|   m_fontSizeMin: 18 |  | ||||||
|   m_fontSizeMax: 72 |  | ||||||
|   m_fontStyle: 17 |  | ||||||
|   m_HorizontalAlignment: 2 |  | ||||||
|   m_VerticalAlignment: 512 |  | ||||||
|   m_textAlignment: 65535 |  | ||||||
|   m_characterSpacing: 0 |  | ||||||
|   m_wordSpacing: 0 |  | ||||||
|   m_lineSpacing: 0 |  | ||||||
|   m_lineSpacingMax: 0 |  | ||||||
|   m_paragraphSpacing: 0 |  | ||||||
|   m_charWidthMaxAdj: 0 |  | ||||||
|   m_enableWordWrapping: 1 |  | ||||||
|   m_wordWrappingRatios: 0.4 |  | ||||||
|   m_overflowMode: 0 |  | ||||||
|   m_linkedTextComponent: {fileID: 0} |  | ||||||
|   parentLinkedComponent: {fileID: 0} |  | ||||||
|   m_enableKerning: 1 |  | ||||||
|   m_enableExtraPadding: 0 |  | ||||||
|   checkPaddingRequired: 0 |  | ||||||
|   m_isRichText: 1 |  | ||||||
|   m_parseCtrlCharacters: 1 |  | ||||||
|   m_isOrthographic: 1 |  | ||||||
|   m_isCullingEnabled: 0 |  | ||||||
|   m_horizontalMapping: 0 |  | ||||||
|   m_verticalMapping: 0 |  | ||||||
|   m_uvLineOffset: 0 |  | ||||||
|   m_geometrySortingOrder: 0 |  | ||||||
|   m_IsTextObjectScaleStatic: 0 |  | ||||||
|   m_VertexBufferAutoSizeReduction: 0 |  | ||||||
|   m_useMaxVisibleDescender: 1 |  | ||||||
|   m_pageToDisplay: 1 |  | ||||||
|   m_margin: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_isUsingLegacyAnimationComponent: 0 |  | ||||||
|   m_isVolumetricText: 0 |  | ||||||
|   m_hasFontAssetChanged: 0 |  | ||||||
|   m_baseMaterial: {fileID: 0} |  | ||||||
|   m_maskOffset: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
| --- !u!1 &8961602535715818983 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 1130491370983573872} |  | ||||||
|   - component: {fileID: 134163401630722766} |  | ||||||
|   - component: {fileID: 2687636472795918257} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: Bg |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &1130491370983573872 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8961602535715818983} |  | ||||||
|   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: 8580211107013450537} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
|   m_AnchorMin: {x: 0, y: 0} |  | ||||||
|   m_AnchorMax: {x: 1, y: 1} |  | ||||||
|   m_AnchoredPosition: {x: 0, y: -0.000005722046} |  | ||||||
|   m_SizeDelta: {x: -10, y: -10} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &134163401630722766 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8961602535715818983} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &2687636472795918257 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8961602535715818983} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 0.17254902, g: 0.18431373, b: 0.2, a: 1} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_Sprite: {fileID: 0} |  | ||||||
|   m_Type: 0 |  | ||||||
|   m_PreserveAspect: 0 |  | ||||||
|   m_FillCenter: 1 |  | ||||||
|   m_FillMethod: 4 |  | ||||||
|   m_FillAmount: 1 |  | ||||||
|   m_FillClockwise: 1 |  | ||||||
|   m_FillOrigin: 0 |  | ||||||
|   m_UseSpriteMesh: 0 |  | ||||||
|   m_PixelsPerUnitMultiplier: 1 |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 39cebc5bdea8db94c8b7d687886df440 |  | ||||||
| PrefabImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,418 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &494624751549720714 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 6750575182086368650} |  | ||||||
|   - component: {fileID: 4753069323318117137} |  | ||||||
|   - component: {fileID: 5389031206522201274} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: Username |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &6750575182086368650 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 494624751549720714} |  | ||||||
|   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: 9010945563893975453} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   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: 5.2387, y: 0.00009346} |  | ||||||
|   m_SizeDelta: {x: 189.52, y: 35} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &4753069323318117137 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 494624751549720714} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &5389031206522201274 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 494624751549720714} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_text: Username |  | ||||||
|   m_isRightToLeft: 0 |  | ||||||
|   m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_fontSharedMaterials: [] |  | ||||||
|   m_fontMaterial: {fileID: 0} |  | ||||||
|   m_fontMaterials: [] |  | ||||||
|   m_fontColor32: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4294967295 |  | ||||||
|   m_fontColor: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_enableVertexGradient: 0 |  | ||||||
|   m_colorMode: 3 |  | ||||||
|   m_fontColorGradient: |  | ||||||
|     topLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     topRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_fontColorGradientPreset: {fileID: 0} |  | ||||||
|   m_spriteAsset: {fileID: 0} |  | ||||||
|   m_tintAllSprites: 0 |  | ||||||
|   m_StyleSheet: {fileID: 0} |  | ||||||
|   m_TextStyleHashCode: -1183493901 |  | ||||||
|   m_overrideHtmlColors: 0 |  | ||||||
|   m_faceColor: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4294967295 |  | ||||||
|   m_fontSize: 15 |  | ||||||
|   m_fontSizeBase: 15 |  | ||||||
|   m_fontWeight: 400 |  | ||||||
|   m_enableAutoSizing: 0 |  | ||||||
|   m_fontSizeMin: 18 |  | ||||||
|   m_fontSizeMax: 72 |  | ||||||
|   m_fontStyle: 0 |  | ||||||
|   m_HorizontalAlignment: 1 |  | ||||||
|   m_VerticalAlignment: 512 |  | ||||||
|   m_textAlignment: 65535 |  | ||||||
|   m_characterSpacing: 0 |  | ||||||
|   m_wordSpacing: 0 |  | ||||||
|   m_lineSpacing: 0 |  | ||||||
|   m_lineSpacingMax: 0 |  | ||||||
|   m_paragraphSpacing: 0 |  | ||||||
|   m_charWidthMaxAdj: 0 |  | ||||||
|   m_enableWordWrapping: 1 |  | ||||||
|   m_wordWrappingRatios: 0.4 |  | ||||||
|   m_overflowMode: 0 |  | ||||||
|   m_linkedTextComponent: {fileID: 0} |  | ||||||
|   parentLinkedComponent: {fileID: 0} |  | ||||||
|   m_enableKerning: 1 |  | ||||||
|   m_enableExtraPadding: 0 |  | ||||||
|   checkPaddingRequired: 0 |  | ||||||
|   m_isRichText: 1 |  | ||||||
|   m_parseCtrlCharacters: 1 |  | ||||||
|   m_isOrthographic: 1 |  | ||||||
|   m_isCullingEnabled: 0 |  | ||||||
|   m_horizontalMapping: 0 |  | ||||||
|   m_verticalMapping: 0 |  | ||||||
|   m_uvLineOffset: 0 |  | ||||||
|   m_geometrySortingOrder: 0 |  | ||||||
|   m_IsTextObjectScaleStatic: 0 |  | ||||||
|   m_VertexBufferAutoSizeReduction: 0 |  | ||||||
|   m_useMaxVisibleDescender: 1 |  | ||||||
|   m_pageToDisplay: 1 |  | ||||||
|   m_margin: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_isUsingLegacyAnimationComponent: 0 |  | ||||||
|   m_isVolumetricText: 0 |  | ||||||
|   m_hasFontAssetChanged: 0 |  | ||||||
|   m_baseMaterial: {fileID: 0} |  | ||||||
|   m_maskOffset: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
| --- !u!1 &8974039884308211525 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 3456907609101338979} |  | ||||||
|   - component: {fileID: 35600547831869191} |  | ||||||
|   - component: {fileID: 1402728989962887689} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: ReadyText |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &3456907609101338979 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8974039884308211525} |  | ||||||
|   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: 9010945563893975453} |  | ||||||
|   m_RootOrder: 1 |  | ||||||
|   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: 44.66983, y: -0.94048} |  | ||||||
|   m_SizeDelta: {x: 89.3396, y: 33.119} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &35600547831869191 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8974039884308211525} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &1402728989962887689 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 8974039884308211525} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_text: Not Ready |  | ||||||
|   m_isRightToLeft: 0 |  | ||||||
|   m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} |  | ||||||
|   m_fontSharedMaterials: [] |  | ||||||
|   m_fontMaterial: {fileID: 0} |  | ||||||
|   m_fontMaterials: [] |  | ||||||
|   m_fontColor32: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4294967295 |  | ||||||
|   m_fontColor: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_enableVertexGradient: 0 |  | ||||||
|   m_colorMode: 3 |  | ||||||
|   m_fontColorGradient: |  | ||||||
|     topLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     topRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomLeft: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|     bottomRight: {r: 1, g: 1, b: 1, a: 1} |  | ||||||
|   m_fontColorGradientPreset: {fileID: 0} |  | ||||||
|   m_spriteAsset: {fileID: 0} |  | ||||||
|   m_tintAllSprites: 0 |  | ||||||
|   m_StyleSheet: {fileID: 0} |  | ||||||
|   m_TextStyleHashCode: -1183493901 |  | ||||||
|   m_overrideHtmlColors: 0 |  | ||||||
|   m_faceColor: |  | ||||||
|     serializedVersion: 2 |  | ||||||
|     rgba: 4294967295 |  | ||||||
|   m_fontSize: 12 |  | ||||||
|   m_fontSizeBase: 12 |  | ||||||
|   m_fontWeight: 400 |  | ||||||
|   m_enableAutoSizing: 0 |  | ||||||
|   m_fontSizeMin: 18 |  | ||||||
|   m_fontSizeMax: 72 |  | ||||||
|   m_fontStyle: 0 |  | ||||||
|   m_HorizontalAlignment: 4 |  | ||||||
|   m_VerticalAlignment: 512 |  | ||||||
|   m_textAlignment: 65535 |  | ||||||
|   m_characterSpacing: 0 |  | ||||||
|   m_wordSpacing: 0 |  | ||||||
|   m_lineSpacing: 0 |  | ||||||
|   m_lineSpacingMax: 0 |  | ||||||
|   m_paragraphSpacing: 0 |  | ||||||
|   m_charWidthMaxAdj: 0 |  | ||||||
|   m_enableWordWrapping: 1 |  | ||||||
|   m_wordWrappingRatios: 0.4 |  | ||||||
|   m_overflowMode: 0 |  | ||||||
|   m_linkedTextComponent: {fileID: 0} |  | ||||||
|   parentLinkedComponent: {fileID: 0} |  | ||||||
|   m_enableKerning: 1 |  | ||||||
|   m_enableExtraPadding: 0 |  | ||||||
|   checkPaddingRequired: 0 |  | ||||||
|   m_isRichText: 1 |  | ||||||
|   m_parseCtrlCharacters: 1 |  | ||||||
|   m_isOrthographic: 1 |  | ||||||
|   m_isCullingEnabled: 0 |  | ||||||
|   m_horizontalMapping: 0 |  | ||||||
|   m_verticalMapping: 0 |  | ||||||
|   m_uvLineOffset: 0 |  | ||||||
|   m_geometrySortingOrder: 0 |  | ||||||
|   m_IsTextObjectScaleStatic: 0 |  | ||||||
|   m_VertexBufferAutoSizeReduction: 0 |  | ||||||
|   m_useMaxVisibleDescender: 1 |  | ||||||
|   m_pageToDisplay: 1 |  | ||||||
|   m_margin: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_isUsingLegacyAnimationComponent: 0 |  | ||||||
|   m_isVolumetricText: 0 |  | ||||||
|   m_hasFontAssetChanged: 0 |  | ||||||
|   m_baseMaterial: {fileID: 0} |  | ||||||
|   m_maskOffset: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
| --- !u!1 &9010945563893975427 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 9010945563893975453} |  | ||||||
|   - component: {fileID: 9010945563893975426} |  | ||||||
|   - component: {fileID: 9010945563893975454} |  | ||||||
|   - component: {fileID: 9010945563893975449} |  | ||||||
|   - component: {fileID: -1177971783685519829} |  | ||||||
|   - component: {fileID: -4147287593466185180} |  | ||||||
|   m_Layer: 5 |  | ||||||
|   m_Name: LobbyPlayer |  | ||||||
|   m_TagString: Untagged |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!224 &9010945563893975453 |  | ||||||
| RectTransform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 9010945563893975427} |  | ||||||
|   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: |  | ||||||
|   - {fileID: 6750575182086368650} |  | ||||||
|   - {fileID: 3456907609101338979} |  | ||||||
|   m_Father: {fileID: 0} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
|   m_AnchorMin: {x: 0, y: 1} |  | ||||||
|   m_AnchorMax: {x: 0, y: 1} |  | ||||||
|   m_AnchoredPosition: {x: 0, y: 0} |  | ||||||
|   m_SizeDelta: {x: 200, y: 35} |  | ||||||
|   m_Pivot: {x: 0.5, y: 0.5} |  | ||||||
| --- !u!222 &9010945563893975426 |  | ||||||
| CanvasRenderer: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 9010945563893975427} |  | ||||||
|   m_CullTransparentMesh: 1 |  | ||||||
| --- !u!114 &9010945563893975454 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 9010945563893975427} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   m_Material: {fileID: 0} |  | ||||||
|   m_Color: {r: 1, g: 0, b: 0, a: 0.392} |  | ||||||
|   m_RaycastTarget: 1 |  | ||||||
|   m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |  | ||||||
|   m_Maskable: 1 |  | ||||||
|   m_OnCullStateChanged: |  | ||||||
|     m_PersistentCalls: |  | ||||||
|       m_Calls: [] |  | ||||||
|   m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} |  | ||||||
|   m_Type: 1 |  | ||||||
|   m_PreserveAspect: 0 |  | ||||||
|   m_FillCenter: 1 |  | ||||||
|   m_FillMethod: 4 |  | ||||||
|   m_FillAmount: 1 |  | ||||||
|   m_FillClockwise: 1 |  | ||||||
|   m_FillOrigin: 0 |  | ||||||
|   m_UseSpriteMesh: 0 |  | ||||||
|   m_PixelsPerUnitMultiplier: 1 |  | ||||||
| --- !u!114 &9010945563893975449 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 9010945563893975427} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   sceneId: 0 |  | ||||||
|   serverOnly: 0 |  | ||||||
|   visible: 0 |  | ||||||
|   m_AssetId: fc0476cecf5ea1047aeb1f4981bfc16f |  | ||||||
|   hasSpawned: 0 |  | ||||||
| --- !u!114 &-1177971783685519829 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 9010945563893975427} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 6947f097045a71a499212176b7475daf, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   syncMode: 0 |  | ||||||
|   syncInterval: 0.1 |  | ||||||
|   rdyBtn: {fileID: 0} |  | ||||||
|   usernameText: {fileID: 5389031206522201274} |  | ||||||
|   rdyText: {fileID: 1402728989962887689} |  | ||||||
|   username:  |  | ||||||
|   ready: 0 |  | ||||||
| --- !u!114 &-4147287593466185180 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 9010945563893975427} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 2f74aedd71d9a4f55b3ce499326d45fb, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   syncMode: 0 |  | ||||||
|   syncInterval: 0.1 |  | ||||||
|   clientAuthority: 0 |  | ||||||
|   sendInterval: 0.05 |  | ||||||
|   syncPosition: 1 |  | ||||||
|   syncRotation: 1 |  | ||||||
|   syncScale: 0 |  | ||||||
|   interpolatePosition: 1 |  | ||||||
|   interpolateRotation: 1 |  | ||||||
|   interpolateScale: 0 |  | ||||||
|   bufferTimeMultiplier: 1 |  | ||||||
|   bufferSizeLimit: 64 |  | ||||||
|   catchupThreshold: 4 |  | ||||||
|   catchupMultiplier: 0.1 |  | ||||||
|   showGizmos: 0 |  | ||||||
|   showOverlay: 0 |  | ||||||
|   overlayColor: {r: 0, g: 0, b: 0, a: 0.5} |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: fc0476cecf5ea1047aeb1f4981bfc16f |  | ||||||
| PrefabImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,47 +0,0 @@ | |||||||
| %YAML 1.1 |  | ||||||
| %TAG !u! tag:unity3d.com,2011: |  | ||||||
| --- !u!1 &7631475222009660907 |  | ||||||
| GameObject: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   serializedVersion: 6 |  | ||||||
|   m_Component: |  | ||||||
|   - component: {fileID: 7631475222009660906} |  | ||||||
|   - component: {fileID: 904614521450498635} |  | ||||||
|   m_Layer: 0 |  | ||||||
|   m_Name: VariableSaver |  | ||||||
|   m_TagString: VariableSaver |  | ||||||
|   m_Icon: {fileID: 0} |  | ||||||
|   m_NavMeshLayer: 0 |  | ||||||
|   m_StaticEditorFlags: 0 |  | ||||||
|   m_IsActive: 1 |  | ||||||
| --- !u!4 &7631475222009660906 |  | ||||||
| Transform: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7631475222009660907} |  | ||||||
|   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |  | ||||||
|   m_LocalPosition: {x: 469.40167, y: 260.95886, z: 4.045637} |  | ||||||
|   m_LocalScale: {x: 1, y: 1, z: 1} |  | ||||||
|   m_ConstrainProportionsScale: 0 |  | ||||||
|   m_Children: [] |  | ||||||
|   m_Father: {fileID: 0} |  | ||||||
|   m_RootOrder: 0 |  | ||||||
|   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |  | ||||||
| --- !u!114 &904614521450498635 |  | ||||||
| MonoBehaviour: |  | ||||||
|   m_ObjectHideFlags: 0 |  | ||||||
|   m_CorrespondingSourceObject: {fileID: 0} |  | ||||||
|   m_PrefabInstance: {fileID: 0} |  | ||||||
|   m_PrefabAsset: {fileID: 0} |  | ||||||
|   m_GameObject: {fileID: 7631475222009660907} |  | ||||||
|   m_Enabled: 1 |  | ||||||
|   m_EditorHideFlags: 0 |  | ||||||
|   m_Script: {fileID: 11500000, guid: 57fc6cd6aec47d54a8d9dc70e91de8d1, type: 3} |  | ||||||
|   m_Name:  |  | ||||||
|   m_EditorClassIdentifier:  |  | ||||||
|   username:  |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 05731c1ab7f50df438d8ad4231f0e4e5 |  | ||||||
| PrefabImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 68e95db5b9c629148994409c6c7f814a |  | ||||||
| DefaultImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,7 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 33f487c6a0f179a4cb0f9cd2f080aca8 |  | ||||||
| DefaultImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,9 +0,0 @@ | |||||||
| using System.Collections; |  | ||||||
| using System.Collections.Generic; |  | ||||||
| using UnityEngine; |  | ||||||
| using Mirror; |  | ||||||
|  |  | ||||||
| public class GameManager : NetworkBehaviour |  | ||||||
| { |  | ||||||
|     |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 8748c2c4324fa0942b14884b8873c8b2 |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,23 +1,13 @@ | |||||||
| using System.Collections; | using System.Collections; | ||||||
| using System.Collections.Generic; | using System.Collections.Generic; | ||||||
| using UnityEngine; | using UnityEngine; | ||||||
| using Mirror; |  | ||||||
|  |  | ||||||
| public class TeamManager : NetworkBehaviour | public class TeamManager : MonoBehaviour | ||||||
| { | { | ||||||
|     [SerializeField] |  | ||||||
|     public List<Team> Teams = new List<Team>(); |     public List<Team> Teams = new List<Team>(); | ||||||
|     int teamIdCount = 0; |     int teamIdCount = 0; | ||||||
|  |  | ||||||
|     public void Start() |  | ||||||
|     { |  | ||||||
|         //Create Speactator Team with index 0 |  | ||||||
|         Team specTeam = new Team("Spectators", 0, -1); |  | ||||||
|         |  | ||||||
|         Teams.Add(specTeam); |  | ||||||
|  |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public Team AddTeam(string name = "Team")  |     public Team AddTeam(string name = "Team")  | ||||||
|     { |     { | ||||||
|         Team team = new Team(name, teamIdCount, -1); |         Team team = new Team(name, teamIdCount, -1); | ||||||
|   | |||||||
| @@ -1,8 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 8e20cf4fb20172a40b1905995d0cdd7e |  | ||||||
| folderAsset: yes |  | ||||||
| DefaultImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,137 +0,0 @@ | |||||||
| using System.Collections; |  | ||||||
| using System.Collections.Generic; |  | ||||||
| using System; |  | ||||||
| using UnityEngine; |  | ||||||
| using UnityEngine.UI; |  | ||||||
| using TMPro; |  | ||||||
| using System.Text.RegularExpressions; |  | ||||||
|  |  | ||||||
|  |  | ||||||
| public class InputValidator : MonoBehaviour |  | ||||||
| { |  | ||||||
|     public enum TypeOfInput |  | ||||||
|     { |  | ||||||
|         IP, |  | ||||||
|         Username, |  | ||||||
|         Port |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public TypeOfInput InputType; |  | ||||||
|     private TMP_InputField inputField; |  | ||||||
|  |  | ||||||
|     private void Start() |  | ||||||
|     { |  | ||||||
|         inputField = GetComponent<TMP_InputField>(); |  | ||||||
|          |  | ||||||
|  |  | ||||||
|         if(InputType == TypeOfInput.Port) |  | ||||||
|         { |  | ||||||
|             inputField.text = "7777"; |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         inputField.onValueChanged.AddListener(delegate { ValueChangeCheck(); }); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     private void ValueChangeCheck() |  | ||||||
|     { |  | ||||||
|         //IP |  | ||||||
|         if(InputType == TypeOfInput.IP) |  | ||||||
|         { |  | ||||||
|             int counter = 0; |  | ||||||
|             foreach (char c in inputField.text) |  | ||||||
|             { |  | ||||||
|                 //is not 0-9 or dot |  | ||||||
|                 if (!Char.IsDigit(c)) |  | ||||||
|                 { |  | ||||||
|                     if (c != '.') |  | ||||||
|                     { |  | ||||||
|                         inputField.text = inputField.text.Remove(counter); |  | ||||||
|                         counter--; |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
|                 else |  | ||||||
|                 { |  | ||||||
|                     //Max 3 nummern nacheinander |  | ||||||
|                     if(counter > 2) |  | ||||||
|                     { |  | ||||||
|                         if(Char.IsDigit(inputField.text[counter-1]) && Char.IsDigit(inputField.text[counter - 2]) && Char.IsDigit(inputField.text[counter - 3])) |  | ||||||
|                         { |  | ||||||
|                             inputField.text = inputField.text.Remove(counter); |  | ||||||
|                             counter--; |  | ||||||
|                         } |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
|  |  | ||||||
|                 //no double dot |  | ||||||
|                 if(c == '.' && counter > 0) |  | ||||||
|                 { |  | ||||||
|                     if(inputField.text[counter-1] == '.') |  | ||||||
|                     { |  | ||||||
|                         inputField.text = inputField.text.Remove(counter); |  | ||||||
|                         counter--; |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
|  |  | ||||||
|                 counter++; |  | ||||||
|             } |  | ||||||
|             //max dots = 3 |  | ||||||
|             if (inputField.text.Split(".").Length-1 > 3) |  | ||||||
|             { |  | ||||||
|                 inputField.text = inputField.text.Remove(inputField.text.LastIndexOf(".")); |  | ||||||
|             } |  | ||||||
|  |  | ||||||
|         } |  | ||||||
|          |  | ||||||
|         if(InputType == TypeOfInput.Port) |  | ||||||
|         {//0  - 65535 |  | ||||||
|             foreach (char c in inputField.text) |  | ||||||
|             { |  | ||||||
|                 if (!Char.IsDigit(c)) |  | ||||||
|                 { |  | ||||||
|                     inputField.text = inputField.text.Remove(inputField.text.LastIndexOf(c)); |  | ||||||
|                 } |  | ||||||
|                 else if (int.Parse(inputField.text) > 65535) |  | ||||||
|                 { |  | ||||||
|                     inputField.text = "65535"; |  | ||||||
|                 } |  | ||||||
|             } |  | ||||||
|  |  | ||||||
|             |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         // USERNAME |  | ||||||
|         if (InputType == TypeOfInput.Username) |  | ||||||
|         { |  | ||||||
|              |  | ||||||
|             foreach (char c in inputField.text) |  | ||||||
|             { |  | ||||||
|                 if (!Char.IsLetter(c)) |  | ||||||
|                 { |  | ||||||
|                     if (!Char.IsDigit(c)) |  | ||||||
|                     { |  | ||||||
|                         inputField.text = inputField.text.Remove(inputField.text.LastIndexOf(c)); |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
|             } |  | ||||||
|              |  | ||||||
|  |  | ||||||
|             if(inputField.text.Length > 25) |  | ||||||
|             { |  | ||||||
|                 string tempText = ""; |  | ||||||
|  |  | ||||||
|                  |  | ||||||
|                 for(int c = 0; c < inputField.text.Length; c++) |  | ||||||
|                 { |  | ||||||
|                     if(c < 25) |  | ||||||
|                     { |  | ||||||
|                         tempText += inputField.text[c]; |  | ||||||
|                     } |  | ||||||
|                 } |  | ||||||
|  |  | ||||||
|                 inputField.text = tempText; |  | ||||||
|  |  | ||||||
|  |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 63e8a56290440f546ab703ec69045442 |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,39 +0,0 @@ | |||||||
| using System.Collections; |  | ||||||
| using System.Collections.Generic; |  | ||||||
| using UnityEngine; |  | ||||||
| using UnityEngine.UI; |  | ||||||
| using UnityEngine.EventSystems; |  | ||||||
|  |  | ||||||
| public class MenuBtn : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler  |  | ||||||
| { |  | ||||||
|     [Header("Background Image")] |  | ||||||
|     [SerializeField] private GameObject BtnBgImage; |  | ||||||
|     [SerializeField] private Color BgColor; |  | ||||||
|     [SerializeField] private Color OnHoverBgColor; |  | ||||||
|      |  | ||||||
|     private bool mouse_over = false; |  | ||||||
|  |  | ||||||
|  |  | ||||||
|     public void Update() |  | ||||||
|     { |  | ||||||
|         if (mouse_over) |  | ||||||
|         { |  | ||||||
|             BtnBgImage.GetComponent<Image>().color = OnHoverBgColor; |  | ||||||
|         } |  | ||||||
|         else |  | ||||||
|         { |  | ||||||
|             BtnBgImage.GetComponent<Image>().color = BgColor; |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|  |  | ||||||
|     public void OnPointerEnter(PointerEventData e) |  | ||||||
|     { |  | ||||||
|         mouse_over = true; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void OnPointerExit(PointerEventData e) |  | ||||||
|     { |  | ||||||
|         mouse_over = false; |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: fd4b898ade2dd5d41b2181efb5309551 |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| using Mirror; |  | ||||||
| using UnityEngine; |  | ||||||
|  |  | ||||||
| public class MenuManager : NetworkManager |  | ||||||
| { |  | ||||||
|  |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 145706024aa7ca34b9312d85f68fc209 |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,55 +0,0 @@ | |||||||
| using System.Collections; |  | ||||||
| using System.Collections.Generic; |  | ||||||
| using UnityEngine; |  | ||||||
| using UnityEngine.UI; |  | ||||||
|  |  | ||||||
| public class MenuPanelSwitch : MonoBehaviour |  | ||||||
| { |  | ||||||
|     [SerializeField] private GameObject MainPanel, JoinPanel, HostPanel, OptionsPanel; |  | ||||||
|  |  | ||||||
|     [SerializeField] private Button JoinBtn, HostBtn, OptionsBtn; |  | ||||||
|     private Button BackBtn; |  | ||||||
|  |  | ||||||
|     private void Start() |  | ||||||
|     { |  | ||||||
|         ResetToMain(); |  | ||||||
|         JoinBtn.onClick.AddListener(SwitchJoinPanel); |  | ||||||
|         HostBtn.onClick.AddListener(SwitchHostPanel); |  | ||||||
|         OptionsBtn.onClick.AddListener(SwitchOptionsPanel);         |  | ||||||
|     } |  | ||||||
|     public void ResetToMain() |  | ||||||
|     { |  | ||||||
|         JoinPanel.SetActive(false); |  | ||||||
|         HostPanel.SetActive(false); |  | ||||||
|         OptionsPanel.SetActive(false); |  | ||||||
|  |  | ||||||
|         MainPanel.SetActive(true); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void TurnAllOff() |  | ||||||
|     { |  | ||||||
|         JoinPanel.SetActive(false); |  | ||||||
|         HostPanel.SetActive(false); |  | ||||||
|         OptionsPanel.SetActive(false); |  | ||||||
|         MainPanel.SetActive(false); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void SwitchJoinPanel() |  | ||||||
|     { |  | ||||||
|         TurnAllOff(); |  | ||||||
|         JoinPanel.SetActive(true); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void SwitchHostPanel() |  | ||||||
|     { |  | ||||||
|         TurnAllOff(); |  | ||||||
|         HostPanel.SetActive(true); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void SwitchOptionsPanel() |  | ||||||
|     { |  | ||||||
|         TurnAllOff(); |  | ||||||
|         OptionsPanel.SetActive(true); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 62a9b64eb5d37bb43a7f4ff101582b6f |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,24 +0,0 @@ | |||||||
| using Mirror; |  | ||||||
| using UnityEngine; |  | ||||||
| using TMPro; |  | ||||||
|  |  | ||||||
| public class MenuStartClient : MonoBehaviour |  | ||||||
| { |  | ||||||
|     [SerializeField] private TMP_InputField IpInput; |  | ||||||
|     [SerializeField] private TMP_InputField UsernameInput; |  | ||||||
|     public void StartClient() |  | ||||||
|     { |  | ||||||
|         if(UsernameInput.text != "") |  | ||||||
|         { |  | ||||||
|             Debug.Log("[MENU] Starting client..."); |  | ||||||
|  |  | ||||||
|             GameObject.FindGameObjectWithTag("VariableSaver").GetComponent<VariableSaver>().username = UsernameInput.text; |  | ||||||
|  |  | ||||||
|             NetworkManager.singleton.networkAddress = IpInput.text; |  | ||||||
|             if(IpInput.text != "") |  | ||||||
|             { |  | ||||||
|                 NetworkManager.singleton.StartClient(); |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 4e1b622a4122f984e8ecc6b6c9556411 |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,17 +0,0 @@ | |||||||
| using Mirror; |  | ||||||
| using UnityEngine; |  | ||||||
| using TMPro; |  | ||||||
|  |  | ||||||
| public class MenuStartHost : MonoBehaviour |  | ||||||
| { |  | ||||||
|     [SerializeField] private TMP_InputField UsernameInput; |  | ||||||
|     public void StartHost() |  | ||||||
|     { |  | ||||||
|         if (UsernameInput.text != "") |  | ||||||
|         { |  | ||||||
|             Debug.Log("[MENU] Starting host..."); |  | ||||||
|             GameObject.FindGameObjectWithTag("VariableSaver").GetComponent<VariableSaver>().username = UsernameInput.text; |  | ||||||
|             NetworkManager.singleton.StartHost(); |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: ba11870b778d63f44b93c88ab9ee53e2 |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,8 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 8200a488f55a39a46852e1266a825379 |  | ||||||
| folderAsset: yes |  | ||||||
| DefaultImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,158 +0,0 @@ | |||||||
| using System.Collections.Generic; |  | ||||||
| using UnityEngine; |  | ||||||
| using UnityEngine.SceneManagement; |  | ||||||
| using Mirror; |  | ||||||
| using TMPro; |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* TODO: |  | ||||||
|  * - Changing Lobby Title Objects causes bugs on client |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * The Lobby will always be the "Room", where all Players are connected to. |  | ||||||
|  * In-Game AND in LobbyScene! |  | ||||||
|  * It manages the Players |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| public class Lobby : NetworkBehaviour |  | ||||||
| { |  | ||||||
|     NetManagerScript networkManager; |  | ||||||
|     public bool isLobbyScene; |  | ||||||
|  |  | ||||||
|     //Player Lists |  | ||||||
|     [SyncVar] |  | ||||||
|     public List<Player> Players = new List<Player>(); |  | ||||||
|     [SyncVar] |  | ||||||
|     public List<LobbyPlayer> LobbyPlayers = new List<LobbyPlayer>(); // All player a register themselves when they join (LobbyPlayer.cs) |  | ||||||
|  |  | ||||||
|     //Scene switch to in-game |  | ||||||
|     [SerializeField] GameObject GamePlayerPrefab; |  | ||||||
|     [SerializeField] [Scene] string gameScene; |  | ||||||
|  |  | ||||||
|     //Lobby Scene |  | ||||||
|     [SyncVar(hook = "ChangeTitle")] |  | ||||||
|     [SerializeField] string lobbyTitle;  // Title/Name of the Lobby; Can only be changed by the host, because of "AuthHost" |  | ||||||
|  |  | ||||||
|     [SyncVar] |  | ||||||
|     public bool allReady = false; // All players are ready? |  | ||||||
|  |  | ||||||
|     void Start() |  | ||||||
|     { |  | ||||||
|         DontDestroyOnLoad(this); |  | ||||||
|         networkManager = GameObject.Find("NetManager").GetComponent<NetManagerScript>(); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     void Update() |  | ||||||
|     { |  | ||||||
|         if(SceneManager.GetActiveScene().name == "Lobby") // Check if we are in-game |  | ||||||
|             isLobbyScene = true; |  | ||||||
|         else |  | ||||||
|             isLobbyScene = false; |  | ||||||
|  |  | ||||||
|         if (isLobbyScene) |  | ||||||
|         { |  | ||||||
|             CheckLobbyPlayers(); // Checking the LobbyPlayer List |  | ||||||
|             allReady = CheckAllReady(); // Continous checking if all player are ready |  | ||||||
|         } |  | ||||||
|         else |  | ||||||
|         { |  | ||||||
|             CheckPlayers();// Checking the Player List |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|   |  | ||||||
|     public void ChangeToPlayer(LobbyPlayer lobbyPlayer) //Convert/Change the LobbyPlayer to a Player |  | ||||||
|     { |  | ||||||
|         Debug.Log("Change"); |  | ||||||
|         var conn = lobbyPlayer.connectionToClient; |  | ||||||
|         var newPlayerInstance = Instantiate(GamePlayerPrefab); |  | ||||||
|  |  | ||||||
|         //newPlayerInstance.GetComponent<Player>().username = player.username; |  | ||||||
|  |  | ||||||
|         NetworkServer.Destroy(conn.identity.gameObject); |  | ||||||
|  |  | ||||||
|         NetworkServer.ReplacePlayerForConnection(conn, newPlayerInstance.gameObject); |  | ||||||
|         LobbyPlayers.Remove(lobbyPlayer); |  | ||||||
|         Players.Add(newPlayerInstance.gameObject.GetComponent<Player>()); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|      |  | ||||||
|  |  | ||||||
|     void CheckPlayers() |  | ||||||
|     { |  | ||||||
|         foreach (Player player in Players) |  | ||||||
|         { |  | ||||||
|             if (player == null) |  | ||||||
|             { |  | ||||||
|                 Players.Remove(player); |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     #region InLobbyScene |  | ||||||
|     public void StartGame() // initializes the In-Game Scene |  | ||||||
|     { |  | ||||||
|         networkManager.ServerChangeScene(gameScene); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public bool AuthHost(LobbyPlayer player) // Checks if player is the host |  | ||||||
|     { |  | ||||||
|         // In theory the host should always be the first connected player, which means he is index 0 in the LobbyPlayers-List |  | ||||||
|         if (LobbyPlayers.IndexOf(player) == 0) |  | ||||||
|         { |  | ||||||
|             return true; |  | ||||||
|         } |  | ||||||
|         return false; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void SetTitle(LobbyPlayer player, string text) // the host can set the LobbyTitle |  | ||||||
|     { |  | ||||||
|         if (AuthHost(player)) |  | ||||||
|         { |  | ||||||
|             lobbyTitle = text; |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void RegisterLobbyPlayer(LobbyPlayer player) // Where a LobbyPlayer can register himself |  | ||||||
|     { |  | ||||||
|         LobbyPlayers.Add(player); |  | ||||||
|     } |  | ||||||
|     public void UnregisterLobbyPlayer(LobbyPlayer player) // Where a LobbyPlayer can unregister himself |  | ||||||
|     { |  | ||||||
|         LobbyPlayers.Remove(player); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     /* Checks */ |  | ||||||
|     bool CheckAllReady() // Checks if all players are ready |  | ||||||
|     { |  | ||||||
|         // Check if all players are ready (if a player is not ready) |  | ||||||
|         foreach (LobbyPlayer player in LobbyPlayers) |  | ||||||
|         { |  | ||||||
|             if (!player.ready) |  | ||||||
|             { |  | ||||||
|                 return false; |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|         return true; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     void CheckLobbyPlayers() // Checks if all LobbyPlayers in the list are still connected (having a GameObject) -> Clears missing players |  | ||||||
|     { |  | ||||||
|         foreach(LobbyPlayer player in LobbyPlayers) |  | ||||||
|         { |  | ||||||
|             if (player == null) |  | ||||||
|             { |  | ||||||
|                 LobbyPlayers.Remove(player); |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     /* HOOKS */ |  | ||||||
|     void ChangeTitle(string oldTitle, string newTitle) // Changes the Title Object |  | ||||||
|     { |  | ||||||
|         GameObject.Find("title").GetComponent<TextMeshProUGUI>().text = newTitle; |  | ||||||
|     } |  | ||||||
|     #endregion |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: b6183dbb3c561ed44803ffda1c859dc9 |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,175 +0,0 @@ | |||||||
| using UnityEngine; |  | ||||||
| using UnityEngine.UI; // For <Button> |  | ||||||
| using Mirror; |  | ||||||
| using TMPro; |  | ||||||
| using UnityEngine.SceneManagement; |  | ||||||
|  |  | ||||||
| /*  |  | ||||||
|  * This class manages the LobbyPlayer, which is the player object while the player is connected only to the lobby |  | ||||||
|  * AND is not IN-GAME (just a text-based player)!    |  | ||||||
|  * this LobbyPlayer will get converted into a Player/GamePlayer for in-game use. |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| public class LobbyPlayer : NetworkBehaviour |  | ||||||
| { |  | ||||||
|     // UI Objects |  | ||||||
|     [SerializeField] Button rdyBtn; // Button Object for listeners |  | ||||||
|     [SerializeField] TextMeshProUGUI rdyButtonText; // Seperatly getting the text, because it's safer instead of "rdy.Btn.getChild..." |  | ||||||
|  |  | ||||||
|     [SerializeField] TextMeshProUGUI usernameText; // Username Text Object -> Where the Username of every LobbyPlayer will get displayed |  | ||||||
|     [SerializeField] TextMeshProUGUI rdyText; // Ready Text Object -> Where the Ready-State of every LobbyPlayer will get displayed |  | ||||||
|  |  | ||||||
|     [SerializeField] Button team1Btn; // Join Team 1 Button |  | ||||||
|     [SerializeField] Button team2Btn; // Join Team 2 Button |  | ||||||
|  |  | ||||||
|     // Sync vars |  | ||||||
|     [SyncVar(hook = "DisplayPlayerName")] |  | ||||||
|     [SerializeField] public string username; |  | ||||||
|  |  | ||||||
|     [SyncVar(hook = "ChangeReadyState")] |  | ||||||
|     public bool ready = false; // is the LobbyPlayer ready? |  | ||||||
|  |  | ||||||
|     [SyncVar(hook = "ChangeDisplayTeam")] |  | ||||||
|     [SerializeField] int teamId = 0; // which team did the player choose? |  | ||||||
|  |  | ||||||
|     // Vars |  | ||||||
|     Lobby lobby; |  | ||||||
|  |  | ||||||
|     public override void OnStartClient() |  | ||||||
|     { |  | ||||||
|         lobby = GameObject.Find("LobbyManager").GetComponent<Lobby>(); // Get the Lobby Object in Scene |  | ||||||
|         if (SceneManager.GetActiveScene().name == "Lobby") |  | ||||||
|         { |  | ||||||
|             lobby.RegisterLobbyPlayer(this); // Register the LobbyPlayer, so the lobby can store him in a list for future use |  | ||||||
|         } |  | ||||||
|         else |  | ||||||
|         { |  | ||||||
|             lobby.ChangeToPlayer(this);             |  | ||||||
|         } |  | ||||||
|          |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     void Start() |  | ||||||
|     { |  | ||||||
|         if (isLocalPlayer && SceneManager.GetActiveScene().name == "Lobby") // Needs to check Scene for itself -> it starts faster than the lobby |  | ||||||
|         { |  | ||||||
|             /* |  | ||||||
|              * The Varaible Saver is used to store vars across different scenes and Player-Objects(LobbyPlayer/GamePlayer). |  | ||||||
|              * In this case it's used to get the values of the players BEFORE they joined the server. |  | ||||||
|              * -> username input field |  | ||||||
|              */ |  | ||||||
|             VariableSaver vs = GameObject.FindGameObjectWithTag("VariableSaver").GetComponent<VariableSaver>();  |  | ||||||
|  |  | ||||||
|             // Find GameObjects in Scene BY NAME |  | ||||||
|             rdyBtn = GameObject.Find("ReadyButton").GetComponent<Button>(); |  | ||||||
|             rdyButtonText = GameObject.Find("RdyBtnText").GetComponent<TextMeshProUGUI>(); |  | ||||||
|             team1Btn = GameObject.Find("Team1Btn").GetComponent<Button>(); |  | ||||||
|             team2Btn = GameObject.Find("Team2Btn").GetComponent<Button>(); |  | ||||||
|              |  | ||||||
|             // Set Button Listeners |  | ||||||
|             rdyBtn.onClick.AddListener(CmdChangeReady); |  | ||||||
|             team1Btn.onClick.AddListener(delegate { SelectTeam(1); }); |  | ||||||
|             team2Btn.onClick.AddListener(delegate { SelectTeam(2); }); |  | ||||||
|  |  | ||||||
|             // Send the username from the local variable saver to the synced var |  | ||||||
|             CmdSendName(vs.username); |  | ||||||
|  |  | ||||||
|             // Set the lobby title -> only works if you're the host |  | ||||||
|             lobby.SetTitle(this, "Game Of\n" + username); |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|     void Update() |  | ||||||
|     { |  | ||||||
|         if (isLocalPlayer && lobby.isLobbyScene) |  | ||||||
|         { |  | ||||||
|             /* |  | ||||||
|              * Update the "Ready-Button": |  | ||||||
|              * Change the text based on host or client / ready or not ready. |  | ||||||
|              * Adds and removes Start Listener to the hosts button |  | ||||||
|              */ |  | ||||||
|  |  | ||||||
|             rdyBtn.onClick.RemoveListener(CmdStartGame); // Clear listener |  | ||||||
|             if (lobby.AuthHost(this) && lobby.allReady) // If all players are ready and your the host |  | ||||||
|             { |  | ||||||
|                 rdyBtn.onClick.AddListener(CmdStartGame); |  | ||||||
|                 rdyButtonText.SetText("Start"); |  | ||||||
|             } |  | ||||||
|             else // You are not the host OR not all Players are ready |  | ||||||
|             { |  | ||||||
|                 if (ready) // You are already ready |  | ||||||
|                 { |  | ||||||
|                     rdyButtonText.SetText("Un-Ready"); |  | ||||||
|                 } |  | ||||||
|                 else // You  are not ready |  | ||||||
|                 { |  | ||||||
|                     rdyButtonText.SetText("Ready"); |  | ||||||
|                 } |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|      |  | ||||||
|     #region hooks |  | ||||||
|     /* HOOKS */ |  | ||||||
|     public void DisplayPlayerName(string oldName, string newName) // Changes the text value of the Player-Username-GameObject |  | ||||||
|     { |  | ||||||
|         Debug.Log("Player changed name from " + oldName + " to " + newName); // Just for debug -> No future use |  | ||||||
|         usernameText.text = newName; // sets the new text in the gameobject |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void ChangeReadyState(bool oldState, bool newState) // Changes the Ready-Text-Object of the player |  | ||||||
|     { |  | ||||||
|         // sets the new text based on the ready state of the player |  | ||||||
|         if (newState) |  | ||||||
|         { |  | ||||||
|             rdyText.text = "Ready"; |  | ||||||
|         } |  | ||||||
|         else |  | ||||||
|         { |  | ||||||
|             rdyText.text = "Not Ready"; |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void ChangeDisplayTeam(int oldTeamId, int newTeamId) // moves the player into the correct team-list |  | ||||||
|     { |  | ||||||
|         // moves the player based on which team he has choosen |  | ||||||
|         if (newTeamId == 1) |  | ||||||
|         { |  | ||||||
|             gameObject.transform.parent = GameObject.FindGameObjectWithTag("Team1List").transform; |  | ||||||
|         } |  | ||||||
|         else if (newTeamId == 2) |  | ||||||
|         { |  | ||||||
|             gameObject.transform.parent = GameObject.FindGameObjectWithTag("Team2List").transform; |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|     #endregion |  | ||||||
|  |  | ||||||
|     #region commands |  | ||||||
|     /* COMMANDS */ |  | ||||||
|     [Command] |  | ||||||
|     void CmdStartGame() |  | ||||||
|     { |  | ||||||
|         if (lobby.AuthHost(this)) |  | ||||||
|         { |  | ||||||
|             lobby.StartGame(); |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     [Command] |  | ||||||
|     void CmdSendName(string playerName) //Send/Set the username from local to the synced var |  | ||||||
|     { |  | ||||||
|         username = playerName; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     [Command] |  | ||||||
|     void CmdChangeReady() // Updates the Ready-State of the Player (Synced Var) |  | ||||||
|     { |  | ||||||
|         ready = !ready; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     [Command] |  | ||||||
|     void SelectTeam(int _teamId) // Updates the team of the Player (Synced Var) |  | ||||||
|     { |  | ||||||
|         teamId = _teamId; |  | ||||||
|     } |  | ||||||
|     #endregion |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 6947f097045a71a499212176b7475daf |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -1,14 +0,0 @@ | |||||||
| using System.Collections.Generic; |  | ||||||
| using Mirror; |  | ||||||
| using UnityEngine; |  | ||||||
| using UnityEngine.SceneManagement; |  | ||||||
|  |  | ||||||
| /* Our Custom Network Manager |  | ||||||
|  *  |  | ||||||
|  *  |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| public class NetManagerScript : NetworkManager |  | ||||||
| { |  | ||||||
|   |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 1d8236d3922ab424d9f006270667d7a7 |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -5,7 +5,6 @@ using Mirror; | |||||||
|  |  | ||||||
| public class Player : NetworkBehaviour | public class Player : NetworkBehaviour | ||||||
| { | { | ||||||
|     Lobby lobby; |  | ||||||
|     public bool isAlive = true; |     public bool isAlive = true; | ||||||
|     public Team team; |     public Team team; | ||||||
|  |  | ||||||
| @@ -28,16 +27,15 @@ public class Player : NetworkBehaviour | |||||||
|  |  | ||||||
|     private void Start() |     private void Start() | ||||||
|     { |     { | ||||||
|         lobby = GameObject.Find("LobbyManager").GetComponent<Lobby>(); |  | ||||||
|          |          | ||||||
|         /*GameManager = GameObject.Find("MatchController"); |         GameManager = GameObject.Find("MatchController"); | ||||||
|         gameMaster = GameManager.GetComponent<GameMaster>(); |         gameMaster = GameManager.GetComponent<GameMaster>(); | ||||||
|         if (isServer)  |         if (isServer)  | ||||||
|         { |         { | ||||||
|             health = defaultHp; |             health = defaultHp; | ||||||
|             gameMaster.RegisterPlayer(GetComponent<Player>()); |             gameMaster.RegisterPlayer(GetComponent<Player>()); | ||||||
|             //respawnPos(gameMaster.RespawnRequest(this.gameObject, team.teamID)); |             //respawnPos(gameMaster.RespawnRequest(this.gameObject, team.teamID)); | ||||||
|         }*/ |         } | ||||||
|          |          | ||||||
|  |  | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -1,11 +0,0 @@ | |||||||
| using UnityEngine; |  | ||||||
|  |  | ||||||
| public class VariableSaver : MonoBehaviour |  | ||||||
| { |  | ||||||
|     public string username; |  | ||||||
|  |  | ||||||
|     public void Awake() |  | ||||||
|     { |  | ||||||
|         DontDestroyOnLoad(gameObject); |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @@ -1,11 +0,0 @@ | |||||||
| fileFormatVersion: 2 |  | ||||||
| guid: 57fc6cd6aec47d54a8d9dc70e91de8d1 |  | ||||||
| MonoImporter: |  | ||||||
|   externalObjects: {} |  | ||||||
|   serializedVersion: 2 |  | ||||||
|   defaultReferences: [] |  | ||||||
|   executionOrder: 0 |  | ||||||
|   icon: {instanceID: 0} |  | ||||||
|   userData:  |  | ||||||
|   assetBundleName:  |  | ||||||
|   assetBundleVariant:  |  | ||||||
| @@ -10,12 +10,7 @@ | |||||||
|     "com.unity.render-pipelines.universal": "12.1.2", |     "com.unity.render-pipelines.universal": "12.1.2", | ||||||
|     "com.unity.test-framework": "1.1.29", |     "com.unity.test-framework": "1.1.29", | ||||||
|     "com.unity.textmeshpro": "3.0.6", |     "com.unity.textmeshpro": "3.0.6", | ||||||
| <<<<<<< HEAD |  | ||||||
|     "com.unity.timeline": "1.6.3", |     "com.unity.timeline": "1.6.3", | ||||||
| ======= |  | ||||||
|     "com.unity.timeline": "1.6.2", |  | ||||||
|     "com.unity.toolchain.win-x86_64-linux-x86_64": "0.1.21-preview", |  | ||||||
| >>>>>>> parent of 131d40d (Revert "Merge branch 'Lobby-System'") |  | ||||||
|     "com.unity.ugui": "1.0.0", |     "com.unity.ugui": "1.0.0", | ||||||
|     "com.unity.visualscripting": "1.7.6", |     "com.unity.visualscripting": "1.7.6", | ||||||
|     "com.unity.modules.ai": "1.0.0", |     "com.unity.modules.ai": "1.0.0", | ||||||
|   | |||||||
| @@ -8,13 +8,7 @@ EditorBuildSettings: | |||||||
|   - enabled: 0 |   - enabled: 0 | ||||||
|     path: Assets/Scenes/TestOfflineScene.unity |     path: Assets/Scenes/TestOfflineScene.unity | ||||||
|     guid: 20dba395f2cd9824288c340124ce9d6f |     guid: 20dba395f2cd9824288c340124ce9d6f | ||||||
|   - enabled: 1 |  | ||||||
|     path: Assets/Scenes/HomeScene.unity |  | ||||||
|     guid: 68e95db5b9c629148994409c6c7f814a |  | ||||||
|   - enabled: 1 |   - enabled: 1 | ||||||
|     path: Assets/Scenes/TestScene.unity |     path: Assets/Scenes/TestScene.unity | ||||||
|     guid: 9fc0d4010bbf28b4594072e72b8655ab |     guid: 9fc0d4010bbf28b4594072e72b8655ab | ||||||
|   - enabled: 1 |  | ||||||
|     path: Assets/Scenes/Lobby.unity |  | ||||||
|     guid: 33f487c6a0f179a4cb0f9cd2f080aca8 |  | ||||||
|   m_configObjects: {} |   m_configObjects: {} | ||||||
|   | |||||||
| @@ -5,12 +5,6 @@ TagManager: | |||||||
|   serializedVersion: 2 |   serializedVersion: 2 | ||||||
|   tags: |   tags: | ||||||
|   - Weapon |   - Weapon | ||||||
|   - MenuPanel |  | ||||||
|   - BackBtnMenu |  | ||||||
|   - NetManager |  | ||||||
|   - VariableSaver |  | ||||||
|   - Team1List |  | ||||||
|   - Team2List |  | ||||||
|   layers: |   layers: | ||||||
|   - Default |   - Default | ||||||
|   - TransparentFX |   - TransparentFX | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 DerTyp187
					DerTyp187